summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 22:23:25 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 22:23:25 +0200
commit9f7c26cb386a7d061a440829e4b801ea6d629f97 (patch)
tree5816266803cb6d573995f93dff58779bd678838b /desktop-widgets/locationinformation.cpp
parent43ebfec1ff1048cad7cab9f977ee21654c011dd7 (diff)
downloadsubsurface-9f7c26cb386a7d061a440829e4b801ea6d629f97.tar.gz
locationinformation.cpp: fix unused variable
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets/locationinformation.cpp')
-rw-r--r--desktop-widgets/locationinformation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index aee0b7328..ab2235120 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -540,7 +540,6 @@ void DiveLocationLineEdit::fixPopupPosition()
{
const QRect screen = QApplication::desktop()->availableGeometry(this);
const int maxVisibleItems = 5;
- Qt::LayoutDirection dir = layoutDirection();
QPoint pos;
int rh, w;
int h = (view->sizeHintForRow(0) * qMin(maxVisibleItems, view->model()->rowCount()) + 3) + 3;