-rw-r--r-- | core/launcher/desktop.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index 4587ec6..da535d9 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp @@ -173,3 +173,7 @@ void DesktopApplication::receive( const QCString &msg, const QByteArray &data ) keyRegisterList.append(QCopKeyRegister(k,c,m)); - } + } + else if (msg == "suspend()"){ + emit power(); + } + } |