From: Ovidiu Mircescu Date: Tue, 30 Jan 2018 16:23:33 +0000 (+0100) Subject: Set default refresh to 30s. X-Git-Tag: V8_5_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0640a66ce8d0a774a1b367a8712bd92769ea9809;p=modules%2Fjobmanager.git Set default refresh to 30s. --- diff --git a/src/genericgui/BL_JobsManager_QT.cxx b/src/genericgui/BL_JobsManager_QT.cxx index c36862f..138f867 100644 --- a/src/genericgui/BL_JobsManager_QT.cxx +++ b/src/genericgui/BL_JobsManager_QT.cxx @@ -68,9 +68,10 @@ BL::JobsManager_QT::JobsManager_QT(QWidget * parent, BL::GenericGui * main_gui, connect(_load_jobs, SIGNAL(clicked()), this, SLOT(load_jobs_button())); connect(_save_jobs, SIGNAL(clicked()), this, SLOT(save_jobs_button())); - _auto_refresh_jobs = new QPushButton("Auto Refresh: no"); + _auto_refresh_jobs = new QPushButton("Auto Refresh: 30s"); _timer = new QTimer(this); _timer->stop(); + _timer->start(30 * 1000); connect(_timer, SIGNAL(timeout()), this, SLOT(RefreshJobs())); // Menu for auto refresh