X-Git-Url: https://vcs.maemo.org/git/?p=fapman;a=blobdiff_plain;f=main.cpp;fp=main.cpp;h=424313d13465cd7b742b41a20244f5d5a775801d;hp=e81f3ab956ba7106ae481746413cc6b919d26cfd;hb=90e0387483574278ccb48a8e7a013371660e2158;hpb=268305ee303b42405cceac1a641f6d5cd8213324 diff --git a/main.cpp b/main.cpp index e81f3ab..424313d 100644 --- a/main.cpp +++ b/main.cpp @@ -56,7 +56,6 @@ int main(int argc, char *argv[]) w.show(); #endif -#ifdef Q_WS_MAEMO_5 uid_t userUID = getuid(); if( userUID != 0 ) { ConfirmDialog d(false, &w); @@ -87,6 +86,7 @@ int main(int argc, char *argv[]) d.exec(); } +#ifdef Q_WS_MAEMO_5 // *** from patch by qwerty12 *** if (!QDBusConnection::sessionBus().isConnected()) { qWarning("Cannot connect to the D-Bus session bus."); @@ -100,7 +100,6 @@ int main(int argc, char *argv[]) qWarning("%s", qPrintable(QDBusConnection::sessionBus().lastError().message())); } // *** - #endif return a.exec();