]> gitweb.hamatoma.de Git - reqt/commitdiff
rebackgui: setUidAllowed deactivated
authorhama <hama@siduction.net>
Sun, 26 Jun 2016 07:08:19 +0000 (09:08 +0200)
committerhama <hama@siduction.net>
Sun, 26 Jun 2016 07:08:19 +0000 (09:08 +0200)
appl/rebackgui/main.cpp

index 4d9b8a228308fb8cc782a649d7a0be16d17346bc..cf3d3af89e2eb4c5640d8910ea5d0eae718d0480 100644 (file)
@@ -18,7 +18,9 @@ int main(int argc, char* argv[]) {
        g_argv = argv;
        ReFileUtils::m_ignoreSetUidError = true;
        QString homeDir = argc > 1 ? argv[1] : "";
+#ifdef WITH_SETUID
        QApplication::setSetuidAllowed(true);
+#endif
        QApplication a(argc, argv);
        MainWindow w(a, homeDir);
        w.show();