aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_gui-qt4/eventhistory.cpp
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-05-08 21:01:01 (GMT)
committerJouni Malinen <j@w1.fi>2015-06-10 11:03:48 (GMT)
commit8d2ed87d82dd76a8d32227c6b39e1e8e9db7efea (patch)
tree84bd9cc3137c0894e10dfee7f805e095847498e6 /wpa_supplicant/wpa_gui-qt4/eventhistory.cpp
parente1ede80d3b96daafe09aca9b98d4f82c3e5b410f (diff)
downloadhostap-8d2ed87d82dd76a8d32227c6b39e1e8e9db7efea.zip
hostap-8d2ed87d82dd76a8d32227c6b39e1e8e9db7efea.tar.gz
hostap-8d2ed87d82dd76a8d32227c6b39e1e8e9db7efea.tar.bz2
wpa_gui: Port to Qt5
This adds support for Qt5 while still preserving support for building with Qt4. The same source code builds with both Qt versions now. The functionality should be identical. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'wpa_supplicant/wpa_gui-qt4/eventhistory.cpp')
-rw-r--r--wpa_supplicant/wpa_gui-qt4/eventhistory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/wpa_gui-qt4/eventhistory.cpp b/wpa_supplicant/wpa_gui-qt4/eventhistory.cpp
index a36085d..09145cd 100644
--- a/wpa_supplicant/wpa_gui-qt4/eventhistory.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/eventhistory.cpp
@@ -73,15 +73,15 @@ void EventListModel::addEvent(QString time, QString msg)
}
-EventHistory::EventHistory(QWidget *parent, const char *, bool, Qt::WFlags)
+EventHistory::EventHistory(QWidget *parent, const char *, bool, Qt::WindowFlags)
: QDialog(parent)
{
setupUi(this);
connect(closeButton, SIGNAL(clicked()), this, SLOT(close()));
- eventListView->setItemsExpandable(FALSE);
- eventListView->setRootIsDecorated(FALSE);
+ eventListView->setItemsExpandable(false);
+ eventListView->setRootIsDecorated(false);
elm = new EventListModel(parent);
eventListView->setModel(elm);
}