diff options
Diffstat (limited to 'examples/bluetooth/btchat/remoteselector.cpp')
-rw-r--r-- | examples/bluetooth/btchat/remoteselector.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/bluetooth/btchat/remoteselector.cpp b/examples/bluetooth/btchat/remoteselector.cpp index a0a8430c..a7a9a00e 100644 --- a/examples/bluetooth/btchat/remoteselector.cpp +++ b/examples/bluetooth/btchat/remoteselector.cpp @@ -4,15 +4,20 @@ #include "remoteselector.h" #include "ui_remoteselector.h" +#include <QtBluetooth/qbluetoothaddress.h> #include <QtBluetooth/qbluetoothlocaldevice.h> #include <QtBluetooth/qbluetoothservicediscoveryagent.h> +#include <QtBluetooth/qbluetoothuuid.h> -QT_USE_NAMESPACE +#include <QtWidgets/qlistwidget.h> RemoteSelector::RemoteSelector(const QBluetoothAddress &localAdapter, QWidget *parent) : QDialog(parent), ui(new Ui::RemoteSelector) { ui->setupUi(this); +#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS) + setWindowState(Qt::WindowMaximized); +#endif m_discoveryAgent = new QBluetoothServiceDiscoveryAgent(localAdapter); |