Fix powerman is not exited after logout

pull/9/head
reionwong 4 years ago
parent 9b4ba7c140
commit d21d511f1a

1
debian/control vendored

@ -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,

@ -17,13 +17,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QCoreApplication>
#include <QApplication>
#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();
}

Loading…
Cancel
Save