Fix saving OSD pretty settings
This commit is contained in:
@@ -491,6 +491,7 @@ void OSDPretty::mouseReleaseEvent(QMouseEvent *) {
|
||||
popup_screen_ = current_screen();
|
||||
popup_screen_name_ = current_screen()->name();
|
||||
popup_pos_ = current_pos();
|
||||
emit PositionChanged();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -107,6 +107,9 @@ class OSDPretty : public QWidget {
|
||||
bool toggle_mode() const { return toggle_mode_; }
|
||||
void set_toggle_mode(bool toggle_mode) { toggle_mode_ = toggle_mode; }
|
||||
|
||||
signals:
|
||||
void PositionChanged();
|
||||
|
||||
public slots:
|
||||
void ReloadSettings();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user