Mercurial > trustbridge
changeset 1231:dc1941e04373
Remove unused state. Only confusing the state model.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 24 Sep 2014 15:48:34 +0200 |
parents | 05b938021a24 |
children | f7e890c4dac6 |
files | ui/mainwindow.cpp ui/mainwindow.h |
diffstat | 2 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/mainwindow.cpp Wed Sep 24 15:26:26 2014 +0200 +++ b/ui/mainwindow.cpp Wed Sep 24 15:48:34 2014 +0200 @@ -512,7 +512,6 @@ connect(downloader, SIGNAL(newListAvailable(const QString&, const QDateTime&)), this, SLOT(handleNewList(const QString&, const QDateTime&))); if (!downloadSW) { - setState(BeforeDownload); connect(downloader, SIGNAL(newSoftwareAvailable(const QString&, const QDateTime&)), this, SLOT(handleNewSW(const QString&, const QDateTime&))); } else {
--- a/ui/mainwindow.h Wed Sep 24 15:26:26 2014 +0200 +++ b/ui/mainwindow.h Wed Sep 24 15:48:34 2014 +0200 @@ -68,7 +68,6 @@ * @brief The internal state of the application */ enum CurrentState { - BeforeDownload, /*! Initial state before a connection is tried. */ NewListAvailable, /*! A new certificate list is available. */ NewSoftwareAvailable, /*! A new Software is avaialable. */ DownloadingSW, /*! Download in progress. */