From 9d4c8d4121cb63300c11aabe6a32ea357e83bbef Mon Sep 17 00:00:00 2001 From: kh1 Date: Mon, 18 Feb 2013 16:24:15 +0100 Subject: Make the example compile with Qt5. Change-Id: I765d38e8470ebed68d3a9e660bee7b4b9df304bb Reviewed-by: Kai Koehne Reviewed-by: Karsten Heimrich --- examples/testapp/mainwindow.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'examples/testapp/mainwindow.cpp') 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 -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include 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()) { -- cgit v1.2.3