forked from qt-creator/qt-creator
Require parent for SessionNameInputDialog
...so the dialog does not appear as a separate application. Change-Id: I4e9b76bf70f860d7decf8836f6a9885fb5748028 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -89,7 +89,7 @@ SessionView::SessionView(QWidget *parent)
|
||||
|
||||
void SessionView::createNewSession()
|
||||
{
|
||||
m_sessionModel.newSession();
|
||||
m_sessionModel.newSession(this);
|
||||
}
|
||||
|
||||
void SessionView::deleteCurrentSession()
|
||||
@@ -99,12 +99,12 @@ void SessionView::deleteCurrentSession()
|
||||
|
||||
void SessionView::cloneCurrentSession()
|
||||
{
|
||||
m_sessionModel.cloneSession(currentSession());
|
||||
m_sessionModel.cloneSession(this, currentSession());
|
||||
}
|
||||
|
||||
void SessionView::renameCurrentSession()
|
||||
{
|
||||
m_sessionModel.renameSession(currentSession());
|
||||
m_sessionModel.renameSession(this, currentSession());
|
||||
}
|
||||
|
||||
void SessionView::switchToCurrentSession()
|
||||
|
||||
Reference in New Issue
Block a user