diff --git a/debian/control b/debian/control index 7ee1f30..5419558 100644 --- a/debian/control +++ b/debian/control @@ -20,6 +20,7 @@ Build-Depends: cmake, libpolkit-qt5-1-dev, libpolkit-agent-1-dev, libkf5windowsystem-dev, + libkf5globalaccel-dev, libqt5x11extras5-dev, qtbase5-dev, qtdeclarative5-dev, diff --git a/powerman/main.cpp b/powerman/main.cpp index 0b16d7c..409cbd2 100644 --- a/powerman/main.cpp +++ b/powerman/main.cpp @@ -17,13 +17,13 @@ * along with this program. If not, see . */ -#include +#include #include "application.h" int main(int argc, char *argv[]) { - QCoreApplication a(argc, argv); + QApplication a(argc, argv); Application app; - // a.setQuitOnLastWindowClosed(false); + a.setQuitOnLastWindowClosed(false); return a.exec(); }