diff options
author | kh1 <karsten.heimrich@digia.com> | 2013-02-18 16:24:15 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2013-02-18 16:39:04 +0100 |
commit | 9d4c8d4121cb63300c11aabe6a32ea357e83bbef (patch) | |
tree | e0427f7bc37caf8054a0e96fe32eab2651988b7a /examples/testapp/mainwindow.cpp | |
parent | 2c68bc72078dde47fff58ec517d963147beb124e (diff) |
Make the example compile with Qt5.
Change-Id: I765d38e8470ebed68d3a9e660bee7b4b9df304bb
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'examples/testapp/mainwindow.cpp')
-rw-r--r-- | examples/testapp/mainwindow.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/testapp/mainwindow.cpp b/examples/testapp/mainwindow.cpp index cbd255567..016b568af 100644 --- a/examples/testapp/mainwindow.cpp +++ b/examples/testapp/mainwindow.cpp @@ -50,12 +50,12 @@ #include <kdselfrestarter.h> -#include <QtGui/QAbstractButton> -#include <QtGui/QApplication> -#include <QtGui/QLabel> -#include <QtGui/QMenuBar> -#include <QtGui/QMessageBox> -#include <QtGui/QProgressDialog> +#include <QAbstractButton> +#include <QApplication> +#include <QLabel> +#include <QMenuBar> +#include <QMessageBox> +#include <QProgressDialog> using namespace QInstaller; using namespace QInstallerCreator; @@ -97,7 +97,8 @@ void MainWindow::checkForUpdates() UpdateSettings settings; try { - m_core.setTemporaryRepositories(settings.repositories()); + // TODO: check what this should have done + //m_core.setTemporaryRepositories(settings.repositories()); settings.setLastCheck(QDateTime::currentDateTime()); if (!m_core.fetchRemotePackagesTree()) { |