mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 07:55:07 -04:00
'New Tab' and 'New Window' should always use the default profile
REVIEW: 103809
This commit is contained in:
@@ -398,12 +398,14 @@ void MainWindow::openUrls(const QList<KUrl>& urls)
|
||||
|
||||
void MainWindow::newTab()
|
||||
{
|
||||
emit newSessionRequest(_defaultProfile , activeSessionDir() , _viewManager);
|
||||
Profile::Ptr defaultProfile = SessionManager::instance()->defaultProfile();
|
||||
emit newSessionRequest(defaultProfile , activeSessionDir() , _viewManager);
|
||||
}
|
||||
|
||||
void MainWindow::newWindow()
|
||||
{
|
||||
emit newWindowRequest(_defaultProfile , activeSessionDir());
|
||||
Profile::Ptr defaultProfile = SessionManager::instance()->defaultProfile();
|
||||
emit newWindowRequest(defaultProfile , activeSessionDir());
|
||||
}
|
||||
|
||||
bool MainWindow::queryClose()
|
||||
|
||||
Reference in New Issue
Block a user