summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp2
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
@@ -1762,16 +1762,16 @@ void MainWindow::processIncidenceSelection( Incidence *incidence )
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 )