Emit signal from Application once Workspace is created
Allows interesting parties to delay initialization till Workspace is ready.
This commit is contained in:
parent
58d79e2da4
commit
f39c3c8cbb
2 changed files with 2 additions and 0 deletions
1
main.cpp
1
main.cpp
|
@ -372,6 +372,7 @@ void Application::createWorkspace()
|
|||
|
||||
// create workspace.
|
||||
(void) new Workspace(isSessionRestored());
|
||||
emit workspaceCreated();
|
||||
}
|
||||
|
||||
void Application::createInput()
|
||||
|
|
1
main.h
1
main.h
|
@ -150,6 +150,7 @@ public:
|
|||
|
||||
Q_SIGNALS:
|
||||
void x11ConnectionChanged();
|
||||
void workspaceCreated();
|
||||
|
||||
protected:
|
||||
Application(OperationMode mode, int &argc, char **argv);
|
||||
|
|
Loading…
Reference in a new issue