mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 23:20:29 -05:00
Preferences framework
Add preferences for HPC/Batch scheduler Add slurm and LSF support Add batch job monitor Support launcher specific user settings Use internal timer, not global view timer Add some more options to batch monitor Improve naming Add tests for job lists
This commit is contained in:
1 parent
eb66255a70
commit
a8dc7dedae
61 files changed
+2735
-165
No files matched your search
@@ -49,17 +49,16 @@ void RicStopJobFeature::setupActionLook( QAction* actionToSetup )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicStopJobFeature::stopJob( RimGenericJob* job )
|
||||
void RicStopJobFeature::stopJob( RimGenericJob* job )
|
||||
{
|
||||
if ( job == nullptr ) return false;
|
||||
|
||||
if ( QMessageBox::question( RiaGuiApplication::widgetToUseAsParent(),
|
||||
job->name(),
|
||||
"Do you want to stop this job?",
|
||||
QMessageBox::Yes | QMessageBox::No ) == QMessageBox::Yes )
|
||||
if ( job != nullptr )
|
||||
{
|
||||
return job->stop();
|
||||
if ( QMessageBox::question( RiaGuiApplication::widgetToUseAsParent(),
|
||||
job->name(),
|
||||
"Do you want to stop this job?",
|
||||
QMessageBox::Yes | QMessageBox::No ) == QMessageBox::Yes )
|
||||
{
|
||||
job->stop();
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
Reference in new issue
Block a user