summaryrefslogtreecommitdiffabout
path: root/korganizer/kodialogmanager.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kodialogmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kodialogmanager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp
index c99c0cb..41a4dc1 100644
--- a/korganizer/kodialogmanager.cpp
+++ b/korganizer/kodialogmanager.cpp
@@ -293,6 +293,9 @@ KOEventEditor *KODialogManager::getEventEditor()
//connect(mMainView,SIGNAL(closingDown()),eventEditor,SLOT(reject()));
+#ifndef DESKTOP_VERSION
+ eventEditor->resize( QApplication::desktop()->width() -20, 100 );
+#endif
return eventEditor;
}
@@ -320,7 +323,9 @@ KOTodoEditor *KODialogManager::getTodoEditor()
// connect(todoEditor,SIGNAL(deleteAttendee(Incidence *)),
// mMainView,SLOT(schedule_cancel(Incidence *)));
//connect(mMainView,SIGNAL(closingDown()),todoEditor,SLOT(reject()));
-
+#ifndef DESKTOP_VERSION
+ todoEditor->resize( QApplication::desktop()->width() -20, 100 );
+#endif
return todoEditor;
}