diff options
author | Daniel Teske <daniel.teske@nokia.com> | 2012-04-02 14:55:56 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@nokia.com> | 2012-04-03 14:11:47 +0200 |
commit | 633468482404d70c280bc93c51ecfc62b588aea8 (patch) | |
tree | 164b9cb35fbdd833ce995c8bd33cb81a5763c6c3 /src/plugins/coreplugin/mainwindow.h | |
parent | 8d5d1f2f66f8bfd5f1cc7953aa8e80b1f72163a3 (diff) | |
download | qt-creator-633468482404d70c280bc93c51ecfc62b588aea8.tar.gz |
New File Dialog: Choose right default project for adding
So far we used a heuristic that prefers .pro files in the same directory
as the new files. That fails if there are multiple .pro files in the
same directory. So instead introduce a mechanism to pass extra data
through the wizard.
Task-number: QTCREATORBUG-7157
Change-Id: I615f7292e16a0a6cb1e84f090016879f1038409f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/coreplugin/mainwindow.h')
-rw-r--r-- | src/plugins/coreplugin/mainwindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/mainwindow.h b/src/plugins/coreplugin/mainwindow.h index ed60198476..86d77f7800 100644 --- a/src/plugins/coreplugin/mainwindow.h +++ b/src/plugins/coreplugin/mainwindow.h @@ -137,7 +137,8 @@ public slots: void showNewItemDialog(const QString &title, const QList<IWizard *> &wizards, - const QString &defaultLocation = QString()); + const QString &defaultLocation = QString(), + const QVariantMap &extraVariables = QVariantMap()); bool showOptionsDialog(const QString &category = QString(), const QString &page = QString(), |