author | zautrix <zautrix> | 2005-06-07 05:27:32 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-07 05:27:32 (UTC) |
commit | 79f58240bc34d20601abe3325e1dc7e76e1ebe39 (patch) (side-by-side diff) | |
tree | b212a9fea1fd11148f19dd22889984437d8c953b | |
parent | 0bbef196163a267722978e34db2ba3daaee76f88 (diff) | |
download | kdepimpi-79f58240bc34d20601abe3325e1dc7e76e1ebe39.zip kdepimpi-79f58240bc34d20601abe3325e1dc7e76e1ebe39.tar.gz kdepimpi-79f58240bc34d20601abe3325e1dc7e76e1ebe39.tar.bz2 |
alarm import ol fix
-rw-r--r-- | korganizer/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index d959a7a..53b65b2 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1669,16 +1669,17 @@ void MainWindow::enableIncidenceActions( bool enabled ) void MainWindow::importOL() { #ifdef _OL_IMPORT_ mView->clearAllViews(); KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this ); id->exec(); delete id; + mView->calendar()->checkAlarmForIncidence( 0, true ); mView->updateView(); #endif } void MainWindow::importBday() { int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), i18n("Import!"), i18n("Cancel"), 0, @@ -1707,16 +1708,17 @@ void MainWindow::importQtopia() QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml"; #else QString datebook = QDir::homeDirPath()+ "/Applications/datebook/datebook.xml"; QString todolist = QDir::homeDirPath()+ "/Applications/todolist/todolist.xml"; QString categories = QDir::homeDirPath()+ "/Settings/Categories.xml"; #endif mView->importQtopia( categories, datebook, todolist ); } + mView->calendar()->reInitAlarmSettings(); #if 0 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), i18n("Not supported \non desktop!\n"), i18n("Ok"), i18n("Cancel"), 0, 0, 1 ); #endif } |