summaryrefslogtreecommitdiff
path: root/examples/bluetooth/btchat/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/btchat/main.cpp')
-rw-r--r--examples/bluetooth/btchat/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/btchat/main.cpp b/examples/bluetooth/btchat/main.cpp
index 1af468f0..6347c914 100644
--- a/examples/bluetooth/btchat/main.cpp
+++ b/examples/bluetooth/btchat/main.cpp
@@ -3,8 +3,8 @@
#include "chat.h"
+#include <QtCore/qloggingcategory.h>
#include <QtWidgets/qapplication.h>
-#include <QtCore/QLoggingCategory>
int main(int argc, char *argv[])
{
@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
Chat d;
QObject::connect(&d, &Chat::accepted, &app, &QApplication::quit);
-#ifdef Q_OS_ANDROID
+#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
d.showMaximized();
#else
d.show();