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

List:       kde-commits
Subject:    KDE/kdepim/kontact/plugins/planner
From:       Allen Winter <winter () kde ! org>
Date:       2009-02-01 16:50:56
Message-ID: 1233507056.992993.15156.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 919826 by winterz:

fix tooltips for to-dos


 M  +6 -0      planner.cpp  


--- trunk/KDE/kdepim/kontact/plugins/planner/planner.cpp #919825:919826
@@ -376,6 +376,12 @@
       connect( urlLabel2, SIGNAL(rightClickedUrl(const QString&)),
                this, SLOT(todoPopupMenu(const QString&)) );
 
+      QString tipText( KCal::IncidenceFormatter::toolTipStr(
+                         todo, true, KPIM::KPimPrefs::timeSpec() ) );
+      if ( !tipText.isEmpty() ) {
+        urlLabel2->setToolTip( tipText );
+      }
+
       mPlannerGrid->setColumnMinimumWidth( 6, 15 );
 
       label = new QLabel( stateText, this );
[prev in list] [next in list] [prev in thread] [next in thread] 

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