author | zautrix <zautrix> | 2005-07-29 18:10:22 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-29 18:10:22 (UTC) |
commit | 48a8fa71f1985fea9df4981808796ef65f0f974a (patch) (side-by-side diff) | |
tree | 960705d669093b067b9ce06456e2aea5aeb92958 | |
parent | 9553b882522708477d131d0d9a2c581724940ba3 (diff) | |
download | kdepimpi-48a8fa71f1985fea9df4981808796ef65f0f974a.zip kdepimpi-48a8fa71f1985fea9df4981808796ef65f0f974a.tar.gz kdepimpi-48a8fa71f1985fea9df4981808796ef65f0f974a.tar.bz2 |
fix
-rw-r--r-- | korganizer/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 98a820d..7ce0251 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1760,20 +1760,20 @@ void MainWindow::processIncidenceSelection( Incidence *incidence ) mNewSubTodoAction->setEnabled( false ); } else if ( incidence->typeID() == todoID ) { mShowAction->setMenuText( i18n("Show Todo") ); mNewSubTodoAction->setEnabled( true ); } else { mShowAction->setMenuText( i18n("Show") ); mNewSubTodoAction->setEnabled( false ); } +#ifdef DESKTOP_VERSION static QPixmap jP = SmallIcon( "journal" ); static QPixmap eP = SmallIcon( "newevent" ); static QPixmap tP = SmallIcon( "newtodo" ); -#ifdef DESKTOP_VERSION QIconSet icon; if ( incidence->typeID() == todoID ) icon = QIconSet ( tP ); else if ( incidence->typeID() == eventID ) icon = QIconSet ( eP ); else if ( incidence->typeID() == journalID ) icon = QIconSet ( jP ); mPrintSelAction->setIconSet ( icon ); |