X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=main.cpp;h=0626c37171cb276b3984b4a763bed3bf67e1a688;hb=HEAD;hp=0aaf9ffc7035eb21946ed1c78be00aef4fa1349a;hpb=172a6626f6f1cd6445fc575e2d614a1821596900;p=fapman diff --git a/main.cpp b/main.cpp index 0aaf9ff..0626c37 100644 --- a/main.cpp +++ b/main.cpp @@ -23,7 +23,10 @@ #include "mainwindow.h" #include "confirmdialog.h" -#include +extern "C" +{ + #include +} bool EnableDebugOutput = false; @@ -48,12 +51,7 @@ int main(int argc, char *argv[]) } MainWindow w; - -#if defined(Q_WS_S60) - w.showMaximized(); -#else w.show(); -#endif uid_t userUID = getuid(); if( userUID != 0 ) {