mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-21 12:49:40 +08:00
UI: Allow the use of Esc key to quit settings window
This commit is contained in:
@@ -289,6 +289,8 @@ private:
|
||||
|
||||
void RecalcOutputResPixels(const char *resText);
|
||||
|
||||
bool AskIfCanCloseSettings();
|
||||
|
||||
QIcon generalIcon;
|
||||
QIcon streamIcon;
|
||||
QIcon outputIcon;
|
||||
@@ -376,6 +378,7 @@ private slots:
|
||||
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent *event);
|
||||
void reject() override;
|
||||
|
||||
public:
|
||||
OBSBasicSettings(QWidget *parent);
|
||||
|
||||
Reference in New Issue
Block a user