Move creation of Tiling some lines up
Since there was a crash caused by calling a function of the not yet initialized class Tiling, the creation was just moved some lines up. The problem does not occur anymore. BUG: 278740
This commit is contained in:
parent
78783bfb49
commit
9a18de0171
1 changed files with 4 additions and 3 deletions
|
@ -193,6 +193,10 @@ Workspace::Workspace(bool restore)
|
||||||
|
|
||||||
delayFocusTimer = 0;
|
delayFocusTimer = 0;
|
||||||
|
|
||||||
|
#ifdef KWIN_BUILD_TILING
|
||||||
|
m_tiling = new Tiling(this);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (restore)
|
if (restore)
|
||||||
loadSessionInfo();
|
loadSessionInfo();
|
||||||
|
|
||||||
|
@ -241,9 +245,6 @@ Workspace::Workspace(bool restore)
|
||||||
desktop_change_osd = new DesktopChangeOSD(this);
|
desktop_change_osd = new DesktopChangeOSD(this);
|
||||||
#endif
|
#endif
|
||||||
m_outline = new Outline();
|
m_outline = new Outline();
|
||||||
#ifdef KWIN_BUILD_TILING
|
|
||||||
m_tiling = new Tiling(this);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
initShortcuts();
|
initShortcuts();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue