-rw-r--r-- | korganizer/koeventviewer.cpp | 1 | ||||
-rw-r--r-- | korganizer/koeventviewerdialog.cpp | 1 |
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 | |||
@@ -89,17 +89,16 @@ void KOEventViewer::setSource(const QString& n) | |||
89 | QVBoxLayout lay ( &dia ); | 89 | QVBoxLayout lay ( &dia ); |
90 | KPIM::AddresseeView av ( &dia ); | 90 | KPIM::AddresseeView av ( &dia ); |
91 | av.setAddressee( (*it) ); | 91 | av.setAddressee( (*it) ); |
92 | lay.addWidget( &av ); | 92 | lay.addWidget( &av ); |
93 | if ( QApplication::desktop()->width() < 480 ) | 93 | if ( QApplication::desktop()->width() < 480 ) |
94 | dia.resize( 220, 240); | 94 | dia.resize( 220, 240); |
95 | else { | 95 | else { |
96 | dia.resize( 400,400); | 96 | dia.resize( 400,400); |
97 | |||
98 | } | 97 | } |
99 | dia.exec(); | 98 | dia.exec(); |
100 | break; | 99 | break; |
101 | } | 100 | } |
102 | } | 101 | } |
103 | return; | 102 | return; |
104 | } | 103 | } |
105 | #else | 104 | #else |
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp index be183eb..68c0e1a 100644 --- a/korganizer/koeventviewerdialog.cpp +++ b/korganizer/koeventviewerdialog.cpp | |||
@@ -222,16 +222,17 @@ void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) | |||
222 | case Qt::Key_L : | 222 | case Qt::Key_L : |
223 | showIncidence(); | 223 | showIncidence(); |
224 | break; | 224 | break; |
225 | case Qt::Key_E : | 225 | case Qt::Key_E : |
226 | case Qt::Key_R : | 226 | case Qt::Key_R : |
227 | editIncidence(); | 227 | editIncidence(); |
228 | break; | 228 | break; |
229 | case Qt::Key_C: | 229 | case Qt::Key_C: |
230 | case Qt::Key_Escape: | ||
230 | close(); | 231 | close(); |
231 | break; | 232 | break; |
232 | case Qt::Key_I: | 233 | case Qt::Key_I: |
233 | accept(); | 234 | accept(); |
234 | break; | 235 | break; |
235 | default: | 236 | default: |
236 | break; | 237 | break; |
237 | } | 238 | } |