diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-29 00:58:44 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-29 00:58:44 (GMT) |
commit | 1255b19c2e2a75b1cb52fd82584ff768ed9c2385 (patch) | |
tree | a6b8e1ea103bc57a0090f3fba046d391eeef2e32 /src/mainwin.cc | |
parent | 57dae12b80981b8d3f71a6830dd555013306229d (diff) |
bugfix: Auto-reload failed in some circumstances
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 9652d6c..788f824 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -205,7 +205,7 @@ MainWindow::MainWindow(const QString &filename) connect(animate_timer, SIGNAL(timeout()), this, SLOT(updateTVal())); autoReloadTimer = new QTimer(this); - autoReloadTimer->setSingleShot(true); + autoReloadTimer->setSingleShot(false); autoReloadTimer->setInterval(200); connect(autoReloadTimer, SIGNAL(timeout()), this, SLOT(checkAutoReload())); |