summaryrefslogtreecommitdiff
path: root/ui/qt/label_stack.cpp
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-04-24 11:07:25 +0000
committerJörg Mayer <jmayer@loplof.de>2013-04-24 11:07:25 +0000
commit9db6d700cde9bcc88c00c86e5439079e06911c2a (patch)
tree4a88c9323f23a1e22234307e739af20c3b7a427a /ui/qt/label_stack.cpp
parent2616e091409ba18c6f241a274e2af9d5e13853b0 (diff)
downloadwireshark-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/label_stack.cpp')
-rw-r--r--ui/qt/label_stack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/label_stack.cpp b/ui/qt/label_stack.cpp
index 16c5fadab0..edb5c1460a 100644
--- a/ui/qt/label_stack.cpp
+++ b/ui/qt/label_stack.cpp
@@ -36,7 +36,7 @@ const int num_flashes_ = 3;
LabelStack::LabelStack(QWidget *parent) :
QLabel(parent)
{
-#ifdef Q_WS_MAC
+#ifdef Q_OS_MAC
setAttribute(Qt::WA_MacSmallSize, true);
#endif
temporary_ctx_ = -1;