diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-04-24 11:07:25 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-04-24 11:07:25 +0000 |
commit | 9db6d700cde9bcc88c00c86e5439079e06911c2a (patch) | |
tree | 4a88c9323f23a1e22234307e739af20c3b7a427a /ui/qt/search_frame.cpp | |
parent | 2616e091409ba18c6f241a274e2af9d5e13853b0 (diff) | |
download | wireshark-9db6d700cde9bcc88c00c86e5439079e06911c2a.tar.gz |
The porting guide for Qt5 requires that Q_OS_ be used instead
of Q_WS_ in Qt4 projects
See:
http://qt-project.org/doc/qt-5.0/qtdoc/portingguide.html
svn path=/trunk/; revision=49013
Diffstat (limited to 'ui/qt/search_frame.cpp')
-rw-r--r-- | ui/qt/search_frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/search_frame.cpp b/ui/qt/search_frame.cpp index 666cd8ece9..8b24135afb 100644 --- a/ui/qt/search_frame.cpp +++ b/ui/qt/search_frame.cpp @@ -50,7 +50,7 @@ SearchFrame::SearchFrame(QWidget *parent) : { sf_ui_->setupUi(this); -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC foreach (QWidget *w, findChildren<QWidget *>()) { w->setAttribute(Qt::WA_MacSmallSize, true); } |