summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-08 15:48:31 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-08 15:48:31 +0000
commit14657a895ce46ef2ae8c9ccf7774a6f4b5231d7f (patch)
tree6a97e0ad6e8da9351f79662f701f427a33485330 /main.cpp
parentaf04e39e1843f44a87583162ec153ff755391625 (diff)
New upstream version 0.0.0.73upstream/latest
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();
+}