diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-22 15:23:38 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 14:15:23 -0700 |
commit | 33a19328d8a34cc97f39f3726c9f1532742500e1 (patch) | |
tree | eab83b4081374ab057bb5221715168f5b09d9f02 /qt-ui/locationinformation.h | |
parent | eb2c78e9536f55f972154c9595ccb588318935d9 (diff) | |
download | subsurface-33a19328d8a34cc97f39f3726c9f1532742500e1.tar.gz |
Block focus out event
The line edit wasn't being properly updated regarding its
paint event. Turns out it was because it received a focus
out event and then stopped refreshing the paint.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.h')
-rw-r--r-- | qt-ui/locationinformation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index 6df56f05c..2b41f5276 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -103,6 +103,7 @@ public: protected: void keyPressEvent(QKeyEvent *ev); + void focusOutEvent(QFocusEvent *ev); void showPopup(); private: DiveLocationFilterProxyModel *proxy; |