[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [okular] ui: Don't (re-)show tool name for each stroke in continuous mode
From:       Peter Grasch <grasch () simon-listens ! org>
Date:       2013-03-23 8:33:42
Message-ID: 20130323083342.7894AA603F () git ! kde ! org
[Download RAW message or body]

Git commit d7c71cb8856dfeeba2817d1317f8cd224ae8c485 by Peter Grasch.
Committed on 23/03/2013 at 09:32.
Pushed by grasch into branch 'master'.

Don't (re-)show tool name for each stroke in continuous mode

M  +1    -1    ui/pageviewannotator.cpp

http://commits.kde.org/okular/d7c71cb8856dfeeba2817d1317f8cd224ae8c485

diff --git a/ui/pageviewannotator.cpp b/ui/pageviewannotator.cpp
index 7bd7496..4615d1c 100644
--- a/ui/pageviewannotator.cpp
+++ b/ui/pageviewannotator.cpp
@@ -955,7 +955,7 @@ void PageViewAnnotator::slotToolSelected( int toolID )
             else if ( toolSubElement.tagName() == "tooltip" )
             {
                 const QString tip = toolSubElement.text();
-                if ( !tip.isEmpty() )
+                if ( !tip.isEmpty() && !m_continuousMode )
                     m_pageView->displayMessage( i18nc( "Annotation tool", tip.toUtf8() ), \
QString(), PageViewMessage::Annotation );  }
         }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic