mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
locationinformation.cpp: fix unused variable
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
43ebfec1ff
commit
9f7c26cb38
1 changed files with 0 additions and 1 deletions
|
@ -540,7 +540,6 @@ void DiveLocationLineEdit::fixPopupPosition()
|
||||||
{
|
{
|
||||||
const QRect screen = QApplication::desktop()->availableGeometry(this);
|
const QRect screen = QApplication::desktop()->availableGeometry(this);
|
||||||
const int maxVisibleItems = 5;
|
const int maxVisibleItems = 5;
|
||||||
Qt::LayoutDirection dir = layoutDirection();
|
|
||||||
QPoint pos;
|
QPoint pos;
|
||||||
int rh, w;
|
int rh, w;
|
||||||
int h = (view->sizeHintForRow(0) * qMin(maxVisibleItems, view->model()->rowCount()) + 3) + 3;
|
int h = (view->sizeHintForRow(0) * qMin(maxVisibleItems, view->model()->rowCount()) + 3) + 3;
|
||||||
|
|
Loading…
Add table
Reference in a new issue