mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Minor adjustments of update time UI, allow to reset values
Follow up of refs #814
This commit is contained in:
@@ -32,7 +32,7 @@ namespace BlackGui
|
||||
explicit CSettingsViewUpdateTimes(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CSettingsViewUpdateTimes();
|
||||
virtual ~CSettingsViewUpdateTimes();
|
||||
|
||||
private slots:
|
||||
//! Slider changed
|
||||
@@ -41,6 +41,9 @@ namespace BlackGui
|
||||
//! Settings have been changed
|
||||
void ps_settingsChanged();
|
||||
|
||||
//! Reset all update times
|
||||
void ps_resetUpdateTimes();
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CSettingsViewUpdateTimes> ui;
|
||||
BlackMisc::CSetting<BlackGui::Settings::TViewUpdateSettings> m_settings { this, &CSettingsViewUpdateTimes::ps_settingsChanged }; //!< settings changed
|
||||
|
||||
Reference in New Issue
Block a user