aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-09-12 21:53:53 +0000
committerJörg Mayer <jmayer@loplof.de>2013-09-12 21:53:53 +0000
commit2e9cd19c9c6354b668b402281ad12ab6e1889dd5 (patch)
tree198c835bde61c3eeb505b34b9cf7dcf032d1d89a /ui
parent07c3d057b8a2a1184734e2f516a0576441c171f2 (diff)
== has higher precedence than &
http://en.wikipedia.org/wiki/Operators_in_C_and_C++ svn path=/trunk/; revision=51990
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/tcp_stream_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/tcp_stream_dialog.cpp b/ui/qt/tcp_stream_dialog.cpp
index 904f1c8652..c7ae4d8ae4 100644
--- a/ui/qt/tcp_stream_dialog.cpp
+++ b/ui/qt/tcp_stream_dialog.cpp
@@ -742,7 +742,7 @@ void TCPStreamDialog::mouseMoved(QMouseEvent *event)
QCustomPlot *sp = ui->streamPlot;
Qt::CursorShape shape = Qt::ArrowCursor;
if (event) {
- if (event->buttons() & Qt::LeftButton == Qt::LeftButton) {
+ if ((event->buttons() & Qt::LeftButton) == Qt::LeftButton) {
if (mouse_drags_) {
shape = Qt::ClosedHandCursor;
} else {