summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp1
-rw-r--r--korganizer/koeventviewerdialog.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index d34e6a9..948047a 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -94,7 +94,6 @@ void KOEventViewer::setSource(const QString& n)
dia.resize( 220, 240);
else {
dia.resize( 400,400);
-
}
dia.exec();
break;
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp
index be183eb..68c0e1a 100644
--- a/korganizer/koeventviewerdialog.cpp
+++ b/korganizer/koeventviewerdialog.cpp
@@ -227,6 +227,7 @@ void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e )
editIncidence();
break;
case Qt::Key_C:
+ case Qt::Key_Escape:
close();
break;
case Qt::Key_I: