aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/toolchainoptionspage.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-12-08 17:42:48 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2011-12-14 11:21:07 +0100
commit7e01f47b5fad23addf330b42e242bce3bf647977 (patch)
treee499f0ca800070ca29b47217dcef139064626cf6 /src/plugins/projectexplorer/toolchainoptionspage.h
parent65288ccd7fe125bfb9a1a95aedf15898d3076885 (diff)
Toolchain: Show newly added tool chains
When creating a new tool chain in the tool chain options page: directly show it. Task-number: QTCREATORBUG-6455 Change-Id: Iabfe20d5babcedfeb6f1d097cb4154e73516cb4e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/toolchainoptionspage.h')
-rw-r--r--src/plugins/projectexplorer/toolchainoptionspage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/toolchainoptionspage.h b/src/plugins/projectexplorer/toolchainoptionspage.h
index 681d28561c..120694edfa 100644
--- a/src/plugins/projectexplorer/toolchainoptionspage.h
+++ b/src/plugins/projectexplorer/toolchainoptionspage.h
@@ -67,6 +67,7 @@ public:
~ToolChainModel();
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
+ QModelIndex index(const QModelIndex &topIdx, ToolChain *) const;
QModelIndex parent(const QModelIndex &index) const;
int rowCount(const QModelIndex &parent = QModelIndex()) const;
int columnCount(const QModelIndex &parent = QModelIndex()) const;
@@ -134,7 +135,7 @@ public:
virtual bool matches(const QString &) const;
private slots:
- void toolChainSelectionChanged(const QModelIndex &, const QModelIndex &);
+ void toolChainSelectionChanged(const QItemSelection &);
void createToolChain(QObject *);
void removeToolChain();
void updateState();