diff options
author | vng <viktor.govako@gmail.com> | 2015-05-15 13:09:27 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:48:08 +0300 |
commit | 1f50787b057ea3fef8c5f0b3a3945286ce07ea6a (patch) | |
tree | e570520307996acf9acb9742435b1d17f567010c /map/information_display.cpp | |
parent | eefa43a2b1e4d0bc73ca81922b8614ec05dff6c4 (diff) |
Render policies refactoring to support GPU and Software rendering.
Diffstat (limited to 'map/information_display.cpp')
-rw-r--r-- | map/information_display.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/map/information_display.cpp b/map/information_display.cpp index d61d68e029..e2566f4bad 100644 --- a/map/information_display.cpp +++ b/map/information_display.cpp @@ -197,6 +197,12 @@ bool InformationDisplay::isCopyrightActive() const return m_copyrightLabel != nullptr; } +void InformationDisplay::enableCopyright(bool doEnable) +{ + if (m_copyrightLabel != nullptr) + m_copyrightLabel->setIsVisible(doEnable); +} + void InformationDisplay::enableRuler(bool doEnable) { if (doEnable) |