-rw-r--r-- | korganizer/main.cpp | 2 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 8 | ||||
-rw-r--r-- | libkcal/todo.cpp | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/main.cpp b/korganizer/main.cpp index 9410c6a..4a0e24f 100644 --- a/korganizer/main.cpp +++ b/korganizer/main.cpp @@ -103,13 +103,13 @@ int main( int argc, char **argv ) command += argv[2]; m.recieve(command, QByteArray() ); } #ifndef DESKTOP_VERSION - QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); + // QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); #endif a.exec(); dumpMissing(); KPimGlobalPrefs::instance()->writeConfig(); } diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 05e5087..c597138 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -2053,13 +2053,13 @@ void MainWindow::save() } if ( mSyncManager->blockSave() ) { slotModifiedChanged( true ); return; } #ifndef DESKTOP_VERSION - QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); + // QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); #endif mSaveDelay = 0; mSyncManager->setBlockSave(true); if ( mView->checkAllFileVersions() ) { if ( KPimGlobalPrefs::instance()->mBackupEnabled ){ QDate reference ( 2000,1,1); @@ -2088,13 +2088,13 @@ void MainWindow::save() setCaption(i18n("Saving cancelled!")); mCalendarModifiedFlag = false; slotModifiedChanged( true ); } mSyncManager->setBlockSave( false ); #ifndef DESKTOP_VERSION - QPEApplication::setTempScreenSaverMode ( QPEApplication::Enable ); + //QPEApplication::setTempScreenSaverMode ( QPEApplication::Enable ); #endif } void MainWindow::keyReleaseEvent ( QKeyEvent * e) { if ( !e->isAutoRepeat() ) { @@ -2509,18 +2509,18 @@ void MainWindow::saveCalendar() bupHint = i18n("(Hint: You can enable automatic backup in the global settings!)"); if ( KMessageBox::warningContinueCancel( this, i18n("This will <b>backup all calendar files</b> to the directory %1 %2").arg(bupDir).arg(bupHint),i18n("Information") ) != KMessageBox::Continue ) return; bool enabled = KPimGlobalPrefs::instance()->mBackupEnabled; KPimGlobalPrefs::instance()->mBackupEnabled = false; save(); #ifndef DESKTOP_VERSION - QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); + //QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); #endif KPimGlobalPrefs::instance()->mBackupEnabled = enabled; backupAllFiles(); #ifndef DESKTOP_VERSION - QPEApplication::setTempScreenSaverMode ( QPEApplication::Enable ); + //QPEApplication::setTempScreenSaverMode ( QPEApplication::Enable ); #endif } void MainWindow::loadCalendar() { diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index 70a7711..29f725f 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp @@ -152,13 +152,13 @@ void Todo::saveRunningInfoToFile() mRunEnd = QDateTime::currentDateTime(); saveRunningInfoToFile( QString::null ); } void Todo::saveRunningInfoToFile( QString comment ) { #ifndef DESKTOP_VERSION - QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); + //QPEApplication::setTempScreenSaverMode ( QPEApplication::Disable ); #endif //qDebug("Todo::saveRunningInfoToFile() %s", summary().latin1()); if ( mRunStart.secsTo ( mRunEnd) < 15 ) { qDebug("Running time < 15 seconds. Skipped. "); return; } @@ -188,13 +188,13 @@ void Todo::saveRunningInfoToFile( QString comment ) cal.addIncidence( to ); ICalFormat format( false ); file = dir +"/" +file +".ics"; format.save( &cal, file ); saveParents(); #ifndef DESKTOP_VERSION - QPEApplication::setTempScreenSaverMode ( QPEApplication::Enable ); + //QPEApplication::setTempScreenSaverMode ( QPEApplication::Enable ); #endif } void Todo::saveParents() { if (!relatedTo() ) return; |