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:
Robert Loehning
2018-01-23 19:02:46 +01:00
parent 561773ce2b
commit e7d44054e1
5 changed files with 15 additions and 15 deletions

View File

@@ -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()