-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 | |||
@@ -1764,12 +1764,12 @@ void MainWindow::processIncidenceSelection( Incidence *incidence ) | |||
1764 | } else { | 1764 | } else { |
1765 | mShowAction->setMenuText( i18n("Show") ); | 1765 | mShowAction->setMenuText( i18n("Show") ); |
1766 | mNewSubTodoAction->setEnabled( false ); | 1766 | mNewSubTodoAction->setEnabled( false ); |
1767 | } | 1767 | } |
1768 | #ifdef DESKTOP_VERSION | ||
1768 | static QPixmap jP = SmallIcon( "journal" ); | 1769 | static QPixmap jP = SmallIcon( "journal" ); |
1769 | static QPixmap eP = SmallIcon( "newevent" ); | 1770 | static QPixmap eP = SmallIcon( "newevent" ); |
1770 | static QPixmap tP = SmallIcon( "newtodo" ); | 1771 | static QPixmap tP = SmallIcon( "newtodo" ); |
1771 | #ifdef DESKTOP_VERSION | ||
1772 | QIconSet icon; | 1772 | QIconSet icon; |
1773 | if ( incidence->typeID() == todoID ) | 1773 | if ( incidence->typeID() == todoID ) |
1774 | icon = QIconSet ( tP ); | 1774 | icon = QIconSet ( tP ); |
1775 | else if ( incidence->typeID() == eventID ) | 1775 | else if ( incidence->typeID() == eventID ) |