mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-24 14:41:23 +01:00
Lowered minimal Qt.
This commit is contained in:
parent
9b886427ef
commit
7656cbaa48
@ -55,8 +55,12 @@ DEFINES *= QT_USE_QSTRINGBUILDER
|
||||
|
||||
message(rssguard: Welcome RSS Guard qmake script.)
|
||||
|
||||
lessThan(QT_MAJOR_VERSION, 5)|lessThan(QT_MINOR_VERSION, 6) {
|
||||
warning(rssguard: At least Qt "5.6.0" is required. Expect errors!!!)
|
||||
}
|
||||
|
||||
lessThan(QT_MAJOR_VERSION, 5)|lessThan(QT_MINOR_VERSION, 7) {
|
||||
warning(rssguard: At least Qt 5.7.0 is required. Expect errors!!!)
|
||||
warning(rssguard: You have Qt \"$$QT_VERSION\". Some features will be disabled.)
|
||||
}
|
||||
|
||||
APP_NAME = "RSS Guard"
|
||||
|
@ -53,6 +53,7 @@ SettingsGui::SettingsGui(Settings *settings, QWidget *parent) : SettingsPanel(se
|
||||
m_ui->m_treeSkins->header()->setSectionResizeMode(2, QHeaderView::ResizeToContents);
|
||||
m_ui->m_treeSkins->header()->setSectionResizeMode(3, QHeaderView::ResizeToContents);
|
||||
|
||||
connect(m_ui->m_cmbIconTheme, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &SettingsGui::requireRestart);
|
||||
connect(m_ui->m_cmbIconTheme, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &SettingsGui::dirtifySettings);
|
||||
connect(m_ui->m_treeSkins, &QTreeWidget::currentItemChanged, this, &SettingsGui::dirtifySettings);
|
||||
connect(m_ui->m_grpTray, &QGroupBox::toggled, this, &SettingsGui::dirtifySettings);
|
||||
@ -70,6 +71,7 @@ SettingsGui::SettingsGui(Settings *settings, QWidget *parent) : SettingsPanel(se
|
||||
connect(m_ui->m_editorStatusbar, &ToolBarEditor::setupChanged, this, &SettingsGui::dirtifySettings);
|
||||
|
||||
connect(m_ui->m_treeSkins, &QTreeWidget::currentItemChanged, this, &SettingsGui::onSkinSelected);
|
||||
connect(m_ui->m_treeSkins, &QTreeWidget::currentItemChanged, this, &SettingsGui::requireRestart);
|
||||
connect(m_ui->m_cmbSelectToolBar, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), m_ui->m_stackedToolbars, &QStackedWidget::setCurrentIndex);
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,10 @@ void WebBrowser::createConnections() {
|
||||
|
||||
// Forward title/icon changes.
|
||||
connect(m_webView, SIGNAL(titleChanged(QString)), this, SLOT(onTitleChanged(QString)));
|
||||
|
||||
#if QT_VERSION >= 0x050700
|
||||
connect(m_webView, SIGNAL(iconChanged(QIcon)), this, SLOT(onIconChanged(QIcon)));
|
||||
#endif
|
||||
}
|
||||
|
||||
void WebBrowser::updateUrl(const QUrl &url) {
|
||||
|
Loading…
Reference in New Issue
Block a user