summaryrefslogtreecommitdiffabout
path: root/korganizer/komonthview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/komonthview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/komonthview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index 65d6acf..b175f9a 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -642,7 +642,7 @@ void MonthViewCell::startUpdateCell()
int MonthViewCell::insertEvent(Event *event)
{
bool useToolTips = true;
-#ifndef DEKSTOP_VERSION
+#ifndef DESKTOP_VERSION
useToolTips = false;
#endif
QString mToolTipText;
@@ -774,8 +774,9 @@ int MonthViewCell::insertEvent(Event *event)
}
insertItem( item ,pos);
}
- if ( useToolTips )
+ if ( useToolTips ) {
mToolTip.append( mToolTipText );
+ }
return mdayCount;
}
void MonthViewCell::insertTodo(Todo *todo)