mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 07:26:10 -04:00
Fix opening of new tabs with multiple processes
Make sure we re-use the process if the user wants a new tab. BUG: 373440 REVIEW: 129886
This commit is contained in:
@@ -371,7 +371,6 @@ MainWindow* Application::processWindowArgs(bool &createdNewMainWindow)
|
||||
{
|
||||
MainWindow* window = 0;
|
||||
if (m_parser->isSet(QStringLiteral("new-tab"))) {
|
||||
// topLevelsWidgets() now always returns no windows BUG:373440
|
||||
QListIterator<QWidget*> iter(QApplication::topLevelWidgets());
|
||||
iter.toBack();
|
||||
while (iter.hasPrevious()) {
|
||||
|
||||
Reference in New Issue
Block a user