summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-02-16 09:30:38 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-02-16 09:30:38 +0100
commit994972bf5da5584186e6e82c36287afeb6c1e23a (patch)
treed9a3705615f2e459958d612550cbf7b65874bf1d /gui
parent82b35b5445d88d67c89c6547b24053d31dc35b9c (diff)
downloadMultiMC-994972bf5da5584186e6e82c36287afeb6c1e23a.tar
MultiMC-994972bf5da5584186e6e82c36287afeb6c1e23a.tar.gz
MultiMC-994972bf5da5584186e6e82c36287afeb6c1e23a.tar.lz
MultiMC-994972bf5da5584186e6e82c36287afeb6c1e23a.tar.xz
MultiMC-994972bf5da5584186e6e82c36287afeb6c1e23a.zip
More fixes.
Diffstat (limited to 'gui')
-rw-r--r--gui/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp
index b28e753f..b05c58f7 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -1256,7 +1256,7 @@ void MainWindow::launchInstance(BaseInstance *instance, AuthSessionPtr session,
dialog.setMaximum(0);
dialog.setValue(0);
dialog.setLabelText(tr("Waiting for profiler..."));
- connect(&dialog, &QDialog::rejected, profilerInstance, &BaseProfiler::abortProfiling);
+ connect(&dialog, &QProgressDialog::canceled, profilerInstance, &BaseProfiler::abortProfiling);
dialog.show();
connect(profilerInstance, &BaseProfiler::readyToLaunch, [&dialog, this](const QString &message)
{