diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-10-16 20:44:46 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-10-17 16:38:07 +0200 |
commit | 089c5dd92753d3c63b8847ec4b99fde46865c104 (patch) | |
tree | 814a896919aafa797125d9781ef616408b433824 /src/plugins/git/gitplugin.cpp | |
parent | 05b939db01ba0e5a26b9827fd98b96b7b330fd3f (diff) | |
download | qt-creator-089c5dd92753d3c63b8847ec4b99fde46865c104.tar.gz |
Git: Open LogChangeDialog on top of the main window
Change-Id: I9fe92f4e1e91e7a4a80a34e802d0d6b8d92b77e4
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r-- | src/plugins/git/gitplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index e71f0a9fda..45bf783147 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -810,7 +810,7 @@ void GitPlugin::resetRepository() QTC_ASSERT(state.hasTopLevel(), return); QString topLevel = state.topLevel(); - LogChangeDialog dialog(true); + LogChangeDialog dialog(true, Core::ICore::mainWindow()); dialog.setWindowTitle(tr("Undo Changes to %1").arg(QDir::toNativeSeparators(topLevel))); if (dialog.runDialog(topLevel)) m_gitClient->reset(topLevel, dialog.resetFlag(), dialog.commit()); @@ -827,7 +827,7 @@ void GitPlugin::startRebase() return; if (!m_gitClient->beginStashScope(topLevel, QLatin1String("Rebase-i"))) return; - LogChangeDialog dialog(false); + LogChangeDialog dialog(false, Core::ICore::mainWindow()); dialog.setWindowTitle(tr("Interactive Rebase")); if (dialog.runDialog(topLevel, QString(), false)) m_gitClient->interactiveRebase(topLevel, dialog.commit(), false); |