summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/main.cpp b/main.cpp
index 270cffe..ed67d5f 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,26 +1,26 @@
-#include "QtTermTCP.h"
-#include <QApplication>
-#include <qscreen.h>
-
-QApplication * a;
-
-int screenHeight = 0; // used to control dialog sizes on Android
-int screenWidth = 0;
-
-int main(int argc, char *argv[])
-{
- a = new QApplication (argc, argv);
-
- QSize r = a->screens()[0]->size();
-
- screenHeight = r.height();
- screenWidth = r.width();
-
- QtTermTCP w;
-
-//#ifdef ANDROID
-// w.setWindowFlags(Qt::Window | Qt::CustomizeWindowHint); // Qt::FramelessWindowHint);
-//#endif
- w.show();
- return a->exec();
-}
+#include "QtTermTCP.h"
+#include <QApplication>
+#include <qscreen.h>
+
+QApplication * a;
+
+int screenHeight = 0; // used to control dialog sizes on Android
+int screenWidth = 0;
+
+int main(int argc, char *argv[])
+{
+ a = new QApplication (argc, argv);
+
+ QSize r = a->screens()[0]->size();
+
+ screenHeight = r.height();
+ screenWidth = r.width();
+
+ QtTermTCP w;
+
+//#ifdef ANDROID
+// w.setWindowFlags(Qt::Window | Qt::CustomizeWindowHint); // Qt::FramelessWindowHint);
+//#endif
+ w.show();
+ return a->exec();
+}