From 90d2181239761f8950b95768d3b037843e9e8b50 Mon Sep 17 00:00:00 2001 From: Teus Benschop Date: Fri, 6 Oct 2017 12:24:31 +0200 Subject: New upstream version 2.11.0 --- src/frontend/display/creaddisplay.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/frontend/display/creaddisplay.cpp') diff --git a/src/frontend/display/creaddisplay.cpp b/src/frontend/display/creaddisplay.cpp index f5c3459..cf4374c 100644 --- a/src/frontend/display/creaddisplay.cpp +++ b/src/frontend/display/creaddisplay.cpp @@ -2,7 +2,7 @@ * * This file is part of BibleTime's source code, http://www.bibletime.info/. * -* Copyright 1999-2014 by the BibleTime developers. +* Copyright 1999-2016 by the BibleTime developers. * The BibleTime source code is licensed under the GNU General Public License version 2.0. * **********/ @@ -28,7 +28,7 @@ CReadDisplay::CReadDisplay(CReadWindow* readWindow) : m_useMouseTracking(true) {} /** Returns the current active anchor. */ -const QString& CReadDisplay::activeAnchor() { +const QString& CReadDisplay::activeAnchor() const { return m_activeAnchor; } @@ -39,7 +39,7 @@ void CReadDisplay::setActiveAnchor( const QString& anchor ) { /** Returns true if the display has an active anchor. */ -bool CReadDisplay::hasActiveAnchor() { +bool CReadDisplay::hasActiveAnchor() const { return !activeAnchor().isEmpty(); } @@ -48,7 +48,7 @@ void CReadDisplay::print(const CDisplay::TextPart type, const DisplayOptions &displayOptions, const FilterOptions &filterOptions) { - typedef CSwordBibleModuleInfo CSBiMI; + using CSBiMI = CSwordBibleModuleInfo; CDisplayWindow* window = parentWindow(); CSwordKey* const key = window->key(); const CSwordModuleInfo *module = key->module(); -- cgit v1.2.3