projects
/
fapman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.1
[fapman]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index
0aaf9ff
..
0626c37
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-23,7
+23,10
@@
#include "mainwindow.h"
#include "confirmdialog.h"
#include "mainwindow.h"
#include "confirmdialog.h"
-#include <unistd.h>
+extern "C"
+{
+ #include <unistd.h>
+}
bool EnableDebugOutput = false;
bool EnableDebugOutput = false;
@@
-48,12
+51,7
@@
int main(int argc, char *argv[])
}
MainWindow w;
}
MainWindow w;
-
-#if defined(Q_WS_S60)
- w.showMaximized();
-#else
w.show();
w.show();
-#endif
uid_t userUID = getuid();
if( userUID != 0 ) {
uid_t userUID = getuid();
if( userUID != 0 ) {