summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventviewerdialog.cpp
authorzautrix <zautrix>2005-04-05 23:31:44 (UTC)
committer zautrix <zautrix>2005-04-05 23:31:44 (UTC)
commitcf4848d972efe96640f2d5f5d52704306d0cbe4c (patch) (side-by-side diff)
tree123a2075927def5f7f59a20949d6b59174ae79b6 /korganizer/koeventviewerdialog.cpp
parent6add774cf9841377f32613c7aa23161a823aa1da (diff)
downloadkdepimpi-cf4848d972efe96640f2d5f5d52704306d0cbe4c.zip
kdepimpi-cf4848d972efe96640f2d5f5d52704306d0cbe4c.tar.gz
kdepimpi-cf4848d972efe96640f2d5f5d52704306d0cbe4c.tar.bz2
fixes
Diffstat (limited to 'korganizer/koeventviewerdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewerdialog.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp
index 35d084d..1dce841 100644
--- a/korganizer/koeventviewerdialog.cpp
+++ b/korganizer/koeventviewerdialog.cpp
@@ -84,2 +84,3 @@ void KOEventViewerDialog::showMe()
setGeometry(x,y,w,h);
+ raise();
#else
@@ -87,8 +88,12 @@ void KOEventViewerDialog::showMe()
#endif
- raise();
- setActiveWindow();
- mEventViewer->setFocus();
- //raise();
+ QTimer::singleShot( 1, this, SLOT ( setMyFocus() ) );
}
+void KOEventViewerDialog::setMyFocus()
+{
+
+ setActiveWindow();
+ mEventViewer->setFocus();
+
+}
void KOEventViewerDialog::print()
@@ -214,3 +219,4 @@ void KOEventViewerDialog::editIncidence()
#ifndef DESKTOP_VERSION
- hide();
+ //hide();
+ close();
#endif