diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-12-02 10:41:18 +0100 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-12-02 10:41:18 +0100 |
commit | 61d9558110d9eaeae20e986b971d7e2391dd30c5 (patch) | |
tree | b0a9427bd5eea20ddd15e1db2e4cd7d667c19ead | |
parent | f4b2507e9bcde04f3178121d4bea017676b96886 (diff) |
Patch from @bearsh fixes https://github.com/IJHack/qtpass/issues/122
-rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 2955501f..8205209e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -42,6 +42,7 @@ MainWindow::MainWindow(QWidget *parent) ui->statusBar->showMessage(tr("Welcome to QtPass %1").arg(VERSION), 2000); freshStart = true; startupPhase = true; + autoclearTimer = NULL; if (!checkConfig()) { // no working config QApplication::quit(); @@ -49,7 +50,6 @@ MainWindow::MainWindow(QWidget *parent) ui->copyPasswordButton->setEnabled(false); setClippedPassword(""); QtPass = NULL; - autoclearTimer = NULL; QTimer::singleShot(10, this, SLOT(focusInput())); } |