mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add some limits to the GF's
Sets the limit for GF's in the preferences panel to 1<=x<=150 and color it read if gf > 100. Remove the % in the diveplanner view that was rejected for the preferences view. The 150 maximum is needed because QSpinBox defaults to maximum 99. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b5d3476b0b
commit
a0df62d913
4 changed files with 41 additions and 9 deletions
|
@ -22,6 +22,9 @@ public slots:
|
|||
void syncSettings();
|
||||
void restorePrefs();
|
||||
void rememberPrefs();
|
||||
void gflowChanged(int gf);
|
||||
void gfhighChanged(int gf);
|
||||
|
||||
|
||||
private:
|
||||
explicit PreferencesDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue