diff --git a/sm.cpp b/sm.cpp index 632b365283..4223f31e4c 100644 --- a/sm.cpp +++ b/sm.cpp @@ -408,7 +408,9 @@ static void shutdown_cancelled(SmcConn conn_P, SmPointer ptr) void SessionSaveDoneHelper::saveDone() { +#if KWIN_QT5_PORTING Workspace::self()->sessionSaveDone(); +#endif } SessionSaveDoneHelper::SessionSaveDoneHelper()