From 7828f46413766ee5db72dc9bd457eac0868f0646 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 04 Dec 2004 04:53:22 +0000 Subject: fixed some bugs --- (limited to 'korganizer/calendarview.cpp') diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 2321087..3908dbb 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2447,6 +2447,8 @@ void CalendarView::showEventEditor() #ifdef DESKTOP_VERSION mEventEditor->show(); #else + if ( mEventEditor->width() != QApplication::desktop()->width() ) + mEventEditor->hide(); mEventEditor->showMaximized(); #endif } @@ -2455,6 +2457,8 @@ void CalendarView::showTodoEditor() #ifdef DESKTOP_VERSION mTodoEditor->show(); #else + if ( mTodoEditor->width() != QApplication::desktop()->width() ) + mTodoEditor->hide(); mTodoEditor->showMaximized(); #endif } -- cgit v0.9.0.2