diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2016-03-30 11:35:41 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2016-04-03 13:24:43 +0000 |
commit | a7b04275082d065f392e7f18c54ea9b41507ae40 (patch) | |
tree | 9f2639181d8f6871ea1184debccb7b46b7062e79 /examples/widgets/itemviews/basicsortfiltermodel/main.cpp | |
parent | 5cbc4609906bbd0484344f96643840ffdc723d69 (diff) |
QAbstractSocket: simplify connect timer handling
Remove:
- handling in abort(): timer will be stopped in resetSocketLayer();
- unneccesary checks in _q_testConnection(): if we have a valid timer
we should stop it anyway;
- code duplication in _q_testConnection(): do not try to stop the
timer twice.
Change-Id: I039ae583ae4e6c4a90dc102c7d93a30e46632374
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'examples/widgets/itemviews/basicsortfiltermodel/main.cpp')
0 files changed, 0 insertions, 0 deletions