summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/runsettingspropertiespage.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-02-19 12:56:28 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-02-20 11:56:49 +0000
commit557cab9164605df85796c50bfad00d8ea55be264 (patch)
tree24fcce0bf6c91babcd1d26e1daa1de9707dc8064 /src/plugins/projectexplorer/runsettingspropertiespage.h
parentea9dad47193bc466642a3f75e690bfb8f4672805 (diff)
downloadqt-creator-557cab9164605df85796c50bfad00d8ea55be264.tar.gz
ProjectExplorer: Sanitize the "Add run config" UI
This functionality was implemented via a pop-up menu, which was close to unusable if more than a few candidates existed (for example: Qt Creator with autotests enabled). We now use a proper dialog. The list of candidates is sortable, can be filtered and includes information about which project file the target executable comes from. Fixes: QTCREATORBUG-19955 Change-Id: Ife087ad69a7e43e280d13c528d21f94a1ae48d4d Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runsettingspropertiespage.h')
-rw-r--r--src/plugins/projectexplorer/runsettingspropertiespage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.h b/src/plugins/projectexplorer/runsettingspropertiespage.h
index 1857fea945..bf86fe56ba 100644
--- a/src/plugins/projectexplorer/runsettingspropertiespage.h
+++ b/src/plugins/projectexplorer/runsettingspropertiespage.h
@@ -58,7 +58,7 @@ public:
private:
void currentRunConfigurationChanged(int index);
- void aboutToShowAddMenu();
+ void showAddRunConfigDialog();
void cloneRunConfiguration();
void removeRunConfiguration();
void activeRunConfigurationChanged();
@@ -91,7 +91,6 @@ private:
NamedWidget *m_deployConfigurationWidget = nullptr;
QVBoxLayout *m_deployLayout = nullptr;
BuildStepListWidget *m_deploySteps = nullptr;
- QMenu *m_addRunMenu;
QMenu *m_addDeployMenu;
bool m_ignoreChange = false;
using RunConfigItem = QPair<QWidget *, QLabel *>;