From f39c3c8cbb9d838606d340aaad7e82162b5587c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 23 Feb 2015 15:53:24 +0100 Subject: [PATCH] Emit signal from Application once Workspace is created Allows interesting parties to delay initialization till Workspace is ready. --- main.cpp | 1 + main.h | 1 + 2 files changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 3f32a81946..19414a0c8a 100644 --- a/main.cpp +++ b/main.cpp @@ -372,6 +372,7 @@ void Application::createWorkspace() // create workspace. (void) new Workspace(isSessionRestored()); + emit workspaceCreated(); } void Application::createInput() diff --git a/main.h b/main.h index 8a4adf5c53..6b932d3e7d 100644 --- a/main.h +++ b/main.h @@ -150,6 +150,7 @@ public: Q_SIGNALS: void x11ConnectionChanged(); + void workspaceCreated(); protected: Application(OperationMode mode, int &argc, char **argv);