aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler/perfprofilerruncontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/perfprofiler/perfprofilerruncontrol.cpp')
-rw-r--r--src/plugins/perfprofiler/perfprofilerruncontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp
index b39509cbbe..bdf2c7670c 100644
--- a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp
+++ b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp
@@ -138,7 +138,7 @@ public:
// in that. FailedToStart is the only actual failure.
if (e == QProcess::FailedToStart) {
QString msg = tr("Perf Process Failed to Start");
- QMessageBox::warning(Core::ICore::mainWindow(),
+ QMessageBox::warning(Core::ICore::dialogParent(),
msg, tr("Make sure that you are running a recent Linux kernel and "
"that the \"perf\" utility is available."));
reportFailure(msg);