Changeset View
Changeset View
Standalone View
Standalone View
shell/shellcorona.cpp
Show First 20 Lines • Show All 1043 Lines • ▼ Show 20 Line(s) | 1040 | while (it.hasNext()) { | |||
---|---|---|---|---|---|
1044 | if (panelView->containment()->screen() == idx) { | 1044 | if (panelView->containment()->screen() == idx) { | ||
1045 | m_waitingPanels << panelView->containment(); | 1045 | m_waitingPanels << panelView->containment(); | ||
1046 | it.remove(); | 1046 | it.remove(); | ||
1047 | delete panelView; | 1047 | delete panelView; | ||
1048 | } | 1048 | } | ||
1049 | } | 1049 | } | ||
1050 | 1050 | | |||
1051 | Q_ASSERT(m_desktopViewforId.value(idx) == desktopView); | 1051 | Q_ASSERT(m_desktopViewforId.value(idx) == desktopView); | ||
1052 | delete desktopView; | | |||
1053 | m_desktopViewforId.remove(idx); | 1052 | m_desktopViewforId.remove(idx); | ||
1053 | delete desktopView; | ||||
1054 | } | 1054 | } | ||
1055 | 1055 | | |||
1056 | PanelView *ShellCorona::panelView(Plasma::Containment *containment) const | 1056 | PanelView *ShellCorona::panelView(Plasma::Containment *containment) const | ||
1057 | { | 1057 | { | ||
1058 | return m_panelViews.value(containment); | 1058 | return m_panelViews.value(containment); | ||
1059 | } | 1059 | } | ||
1060 | 1060 | | |||
1061 | ///// SLOTS | 1061 | ///// SLOTS | ||
▲ Show 20 Lines • Show All 1000 Lines • Show Last 20 Lines |