diff options
author | Jarek Kobus <jaroslaw.kobus@nokia.com> | 2011-11-22 10:34:46 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@nokia.com> | 2011-11-22 14:55:33 +0100 |
commit | 63007d2ba059f6db45052a30f02c8d913ec20f3c (patch) | |
tree | 0113ddd66a990f26c9ef25cf010a3367746dbbeb /src/plugins/projectexplorer/sessiondialog.cpp | |
parent | fad5cc01669bd892b6c30362732c62f5c55c5ba2 (diff) | |
download | qt-creator-63007d2ba059f6db45052a30f02c8d913ec20f3c.tar.gz |
Give SessionDialog a parent widget
In this way there is no additional item on taskbar
Change-Id: Ib946064f3d859a61eaa5495bc4fb7740b641e154
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/sessiondialog.cpp')
-rw-r--r-- | src/plugins/projectexplorer/sessiondialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/sessiondialog.cpp b/src/plugins/projectexplorer/sessiondialog.cpp index b943b62b7a..0c593463e4 100644 --- a/src/plugins/projectexplorer/sessiondialog.cpp +++ b/src/plugins/projectexplorer/sessiondialog.cpp @@ -145,8 +145,8 @@ bool SessionNameInputDialog::isSwitchToRequested() const } -SessionDialog::SessionDialog(SessionManager *sessionManager) - : m_sessionManager(sessionManager) +SessionDialog::SessionDialog(SessionManager *sessionManager, QWidget *parent) + : QDialog(parent), m_sessionManager(sessionManager) { m_ui.setupUi(this); |