[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/utils/charm/trunk/Charm
From: Mirko Boehm <mirko () kde ! org>
Date: 2009-03-06 8:42:15
Message-ID: 1236328935.296265.10469.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 935784 by mirko:
- disable the task selector in the tracker if there are no tasks to select
M +2 -2 TimeTrackingSummaryWidget.cpp
--- trunk/playground/utils/charm/trunk/Charm/TimeTrackingSummaryWidget.cpp #935783:935784
@@ -22,7 +22,7 @@
, m_taskSelector( this )
, m_selectedSummary( -1 )
{
- // FIXME use platform defined, hand-picked fonts, so far those have been selected for Mac:
+ // FIXME use platform defined, hand-picked fonts, so far those have been selected for Mac and Linux:
#ifdef Q_WS_MAC
m_fixedFont.setFamily( "Andale Mono" );
m_fixedFont.setPointSize( 11 );
@@ -386,7 +386,7 @@
} else {
m_stopGoButton.setIcon( Data::recorderGoIcon() );
m_stopGoButton.setText( tr( "Start" ) );
- m_taskSelector.setEnabled( true );
+ m_taskSelector.setEnabled( ! m_summaries.isEmpty() );
m_stopGoButton.setEnabled( taskSelected );
m_stopGoButton.setChecked( false );
m_pulse.stop();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic