From fe68ddd9adca9b6dbaf68141316b83275f484990 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 9 Sep 2020 16:31:19 +0300 Subject: [PATCH] Initialize fields of the Workspace class in correct order The compiler doesn't like that fields of the Workspace class are declared and initialized in different order. --- workspace.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index 13b1a4edcb..a87a622e9a 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -97,6 +97,7 @@ Workspace::Workspace() : QObject(nullptr) , m_compositor(nullptr) // Unsorted + , m_quickTileCombineTimer(nullptr) , active_popup(nullptr) , active_popup_client(nullptr) , m_initialDesktop(1) @@ -116,9 +117,7 @@ Workspace::Workspace() , workspaceInit(true) , set_active_client_recursion(0) , block_stacking_updates(0) - , m_quickTileCombineTimer(nullptr) , m_sessionManager(new SessionManager(this)) - , m_lastTilingMode(0) { // If KWin was already running it saved its configuration after loosing the selection -> Reread QFuture reparseConfigFuture = QtConcurrent::run(options, &Options::reparseConfiguration);