Skip to content

Commit

Permalink
On/Off Checkbox
Browse files Browse the repository at this point in the history
Adds a checkbox in the settings menu to determine whether or not to save the window's position upon closing.
  • Loading branch information
WisoAltred committed Jan 18, 2024
1 parent 3faed2a commit f46f810
Show file tree
Hide file tree
Showing 6 changed files with 288 additions and 249 deletions.
3 changes: 3 additions & 0 deletions include/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ class Options {
bool evidenceDoubleClickEdit() const;
void setEvidenceDoubleClickEdit(bool value);

bool saveWindowPositionEdit() const;
void setSaveWindowPositionEdit(bool value);

// Supplies an alternative masterserver URL
QString alternativeMasterserver() const;
void setAlternativeMasterserver(QString value);
Expand Down
1 change: 1 addition & 0 deletions include/widgets/aooptionsdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class AOOptionsDialog : public QDialog {
QPushButton *ui_theme_reload_button;
QPushButton *ui_theme_folder_button;
QCheckBox *ui_evidence_double_click_cb;
QCheckBox *ui_set_save_window_position_cb;
QCheckBox *ui_animated_theme_cb;
QSpinBox *ui_stay_time_spinbox;
QCheckBox *ui_instant_objection_cb;
Expand Down
Loading

0 comments on commit f46f810

Please sign in to comment.