diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-09-29 02:50:56 -0700 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-09-29 02:50:56 -0700 |
| commit | 75d31c84dba2e5280341b756aa9dc39a345dfffd (patch) | |
| tree | b61d2936677541a513371335214d28f665b4b3bc /src/qt/clientmodel.cpp | |
| parent | Merge pull request #3029 from wtogami/gitianwin32 (diff) | |
| parent | several small Qt-related fixes (diff) | |
| download | discoin-75d31c84dba2e5280341b756aa9dc39a345dfffd.tar.xz discoin-75d31c84dba2e5280341b756aa9dc39a345dfffd.zip | |
Merge pull request #3039 from Diapolo/Qt_misc
several small Qt-related fixes
Diffstat (limited to 'src/qt/clientmodel.cpp')
| -rw-r--r-- | src/qt/clientmodel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index f7dd8adb6..b33f534f7 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -24,9 +24,8 @@ ClientModel::ClientModel(OptionsModel *optionsModel, QObject *parent) : numBlocksAtStartup(-1), pollTimer(0) { pollTimer = new QTimer(this); - pollTimer->setInterval(MODEL_UPDATE_DELAY); - pollTimer->start(); connect(pollTimer, SIGNAL(timeout()), this, SLOT(updateTimer())); + pollTimer->start(MODEL_UPDATE_DELAY); subscribeToCoreSignals(); } |