aboutsummaryrefslogtreecommitdiff
path: root/src/qt/modaloverlay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/modaloverlay.h')
-rw-r--r--src/qt/modaloverlay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h
index 21ccdbd839..cda23f9540 100644
--- a/src/qt/modaloverlay.h
+++ b/src/qt/modaloverlay.h
@@ -32,7 +32,7 @@ public Q_SLOTS:
// will show or hide the modal layer
void showHide(bool hide = false, bool userRequested = false);
void closeClicked();
- bool isLayerVisible() { return layerIsVisible; }
+ bool isLayerVisible() const { return layerIsVisible; }
protected:
bool eventFilter(QObject * obj, QEvent * ev);