forked from qt-creator/qt-creator
Fix compilation of update info plugin with Qt 4.
Change-Id: I7878a67413a9f4b04a12025e4b4dc5c65e0ee3c7 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
committed by
Kai Koehne
parent
2a27047626
commit
d58da4bd7e
@@ -52,7 +52,7 @@ QWidget *SettingsPage::createPage(QWidget *parent)
|
|||||||
m_ui.setupUi(m_page);
|
m_ui.setupUi(m_page);
|
||||||
if (m_searchKeywords.isEmpty())
|
if (m_searchKeywords.isEmpty())
|
||||||
m_searchKeywords = m_ui.m_info->text();
|
m_searchKeywords = m_ui.m_info->text();
|
||||||
m_ui.m_timeTable->setCurrentText(QTime(m_plugin->scheduledUpdateTime())
|
m_ui.m_timeTable->setItemText(m_ui.m_timeTable->currentIndex(), QTime(m_plugin->scheduledUpdateTime())
|
||||||
.toString(QLatin1String("hh:mm")));
|
.toString(QLatin1String("hh:mm")));
|
||||||
return m_page;
|
return m_page;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
#include <QFutureWatcher>
|
#include <QFutureWatcher>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
|
#include <QtPlugin>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static const quint32 OneMinute = 60000;
|
static const quint32 OneMinute = 60000;
|
||||||
|
|||||||
Reference in New Issue
Block a user