Skip to content
Snippets Groups Projects
Commit 04f4eaa5 authored by Marco Martin's avatar Marco Martin
Browse files

append views as the first thing

it may still be a crash on screen added with the corona locked
CCBUG:337200
parent b59248ce
No related branches found
No related tags found
No related merge requests found
......@@ -683,6 +683,7 @@ void ShellCorona::addOutput(KScreen::Output *output)
QScreen* newScreen = insertScreen(screen, insertPosition);
DesktopView *view = new DesktopView(this);
d->views.append(view);
Plasma::Containment *containment = createContainmentForActivity(d->activityController->currentActivity(), d->views.count()-1);
Q_ASSERT(containment);
......@@ -695,7 +696,6 @@ void ShellCorona::addOutput(KScreen::Output *output)
view->setContainment(containment);
view->setScreen(newScreen);
view->show();
d->views.append(view);
containment->reactToScreenChange();
//were there any panels for this screen before it popped up?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment