summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-11-01 23:30:13 +0100
committerPetr Mrázek <peterix@gmail.com>2018-11-01 23:30:13 +0100
commit24fd2918c70b9450c7c0e9f4e1131727f5152561 (patch)
tree2d5602d9e059bff7ebfbfe95e9ac6bf74b5e829a
parent9eb165bfee39578e6ce82dff05e08c701d0a9c0a (diff)
downloadMultiMC-24fd2918c70b9450c7c0e9f4e1131727f5152561.tar
MultiMC-24fd2918c70b9450c7c0e9f4e1131727f5152561.tar.gz
MultiMC-24fd2918c70b9450c7c0e9f4e1131727f5152561.tar.lz
MultiMC-24fd2918c70b9450c7c0e9f4e1131727f5152561.tar.xz
MultiMC-24fd2918c70b9450c7c0e9f4e1131727f5152561.zip
NOISSUE fix more rhel 7.6 problems?
-rw-r--r--application/MainWindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index 4085f2bc..4ee49b80 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -687,7 +687,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
{
bool cat_enable = MMC->settings()->get("TheCat").toBool();
ui->actionCAT->setChecked(cat_enable);
- connect(ui->actionCAT, SIGNAL(toggled(bool)), SLOT(onCatToggled(bool)));
+ // NOTE: calling the operator like that is an ugly hack to appease ancient gcc...
+ connect(ui->actionCAT.operator->(), SIGNAL(toggled(bool)), SLOT(onCatToggled(bool)));
setCatBackground(cat_enable);
}
// start instance when double-clicked
@@ -787,7 +788,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
bool updatesAllowed = MMC->updatesAreAllowed();
updatesAllowedChanged(updatesAllowed);
- connect(ui->actionCheckUpdate, &QAction::triggered, this, &MainWindow::checkForUpdates);
+ // NOTE: calling the operator like that is an ugly hack to appease ancient gcc...
+ connect(ui->actionCheckUpdate.operator->(), &QAction::triggered, this, &MainWindow::checkForUpdates);
// set up the updater object.
auto updater = MMC->updateChecker();