summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewerdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp
index f606124..f734696 100644
--- a/korganizer/koeventviewerdialog.cpp
+++ b/korganizer/koeventviewerdialog.cpp
@@ -86,8 +86,9 @@ void KOEventViewerDialog::showMe()
#endif
raise();
setActiveWindow();
mEventViewer->setFocus();
+ //raise();
}
void KOEventViewerDialog::setSyncMode( bool b )
{
@@ -288,8 +289,11 @@ void KOEventViewerDialog::hideEvent ( QHideEvent * e )
}
void KOEventViewerDialog::slotViewerClosed()
{
+ if ( mSyncMode )
+ return;
+
if ( sendSignalViewerClosed ) {
//qDebug("KOEventViewerDialog::hideEvent ");
emit signalViewerClosed();
}