author | zautrix <zautrix> | 2004-09-09 21:22:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-09 21:22:38 (UTC) |
commit | 10eb314475b75a162582e8138d465890dbd21806 (patch) (side-by-side diff) | |
tree | 9045f8a02113eedf2f2c59d239e4e43b41c2cdc5 | |
parent | 5b0e3c87bbe32aacd51f6faff5446ed3838a68e0 (diff) | |
download | kdepimpi-10eb314475b75a162582e8138d465890dbd21806.zip kdepimpi-10eb314475b75a162582e8138d465890dbd21806.tar.gz kdepimpi-10eb314475b75a162582e8138d465890dbd21806.tar.bz2 |
Fixed closing of event viewer
-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 @@ -85,25 +85,24 @@ void KOEventViewer::setSource(const QString& n) if (n == uid ) { //qDebug("found %s ",(*it).mobileHomePhone().latin1() ); QDialog dia( this,"dia123", true ); dia.setCaption( i18n("Details of attendee") ); QVBoxLayout lay ( &dia ); KPIM::AddresseeView av ( &dia ); av.setAddressee( (*it) ); lay.addWidget( &av ); if ( QApplication::desktop()->width() < 480 ) dia.resize( 220, 240); else { dia.resize( 400,400); - } dia.exec(); break; } } return; } #else { if ( "uid:organizer" == n ) { ExternalAppHandler::instance()->requestDetailsFromKAPI("", mCurrentIncidence->organizer(),""); return; diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp index be183eb..68c0e1a 100644 --- a/korganizer/koeventviewerdialog.cpp +++ b/korganizer/koeventviewerdialog.cpp @@ -218,22 +218,23 @@ void KOEventViewerDialog::keyPressEvent ( QKeyEvent * e ) { switch ( e->key() ) { case Qt::Key_A : case Qt::Key_L : showIncidence(); break; case Qt::Key_E : case Qt::Key_R : editIncidence(); break; case Qt::Key_C: + case Qt::Key_Escape: close(); break; case Qt::Key_I: accept(); break; default: break; } } |