-rw-r--r-- | core/launcher/serverapp.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index 11381e6..f7c2341 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -264,2 +264,3 @@ bool ServerApplication::doRestart = FALSE; bool ServerApplication::allowRestart = TRUE; +bool ServerApplication::ms_is_starting = TRUE; @@ -286,3 +287,3 @@ ServerApplication::ServerApplication( int& argc, char **argv, Type t ) { - + ms_is_starting = true; @@ -848,2 +849,13 @@ ServerApplication *ServerApplication::me ( ) +bool ServerApplication::isStarting() +{ + return ms_is_starting; +} + +int ServerApplication::exec() +{ + ms_is_starting = true; + qDebug("Serverapp - exec"); + return QPEApplication::exec(); +} |