"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/interface/timetablegeneratemultipleform.cpp" between
fet-5.47.0.tar.bz2 and fet-5.47.1.tar.bz2

About: FET allows to automatically schedule a timetable for e.g. of a school, high-school or university.

timetablegeneratemultipleform.cpp  (fet-5.47.0.tar.bz2):timetablegeneratemultipleform.cpp  (fet-5.47.1.tar.bz2)
skipping to change at line 530 skipping to change at line 530
if(terminateCommandAfterSeconds>0) if(terminateCommandAfterSeconds>0)
QTimer::singleShot(terminateCommandAfterS econds*1000, myProcess, SLOT(terminate())); QTimer::singleShot(terminateCommandAfterS econds*1000, myProcess, SLOT(terminate()));
if(killCommandAfterSeconds>0) if(killCommandAfterSeconds>0)
QTimer::singleShot(killCommandAfterSecond s*1000, myProcess, SLOT(kill())); QTimer::singleShot(killCommandAfterSecond s*1000, myProcess, SLOT(kill()));
//https://www.qtcentre.org/threads/43083-Freeing- a-QProcess-after-it-has-finished-using-deleteLater() //https://www.qtcentre.org/threads/43083-Freeing- a-QProcess-after-it-has-finished-using-deleteLater()
connect(myProcess, SIGNAL(finished(int)), myProce ss, SLOT(deleteLater())); connect(myProcess, SIGNAL(finished(int)), myProce ss, SLOT(deleteLater()));
myProcess->start(command, arguments); myProcess->start(command, arguments);
}*/ }*/
//else{ //else{
QProcess::startDetached(command, arguments); QProcess::startDetached(command, arguments);
//} //}
} }
} }
//Trick so that the message box will be silent (the only sound is thus th e beep above). //Trick so that the message box will be silent (the only sound is thus th e beep above).
QMessageBox msgBox(this); QMessageBox msgBox(this);
msgBox.setWindowTitle(TimetableGenerateMultipleForm::tr("FET information" )); msgBox.setWindowTitle(TimetableGenerateMultipleForm::tr("FET information" ));
msgBox.setText(ms); msgBox.setText(ms);
msgBox.exec(); msgBox.exec();
//QMessageBox::information(this, TimetableGenerateMultipleForm::tr("FET i nformation"), ms); //QMessageBox::information(this, TimetableGenerateMultipleForm::tr("FET i nformation"), ms);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)