UI: Allow the use of Esc key to quit settings window

This commit is contained in:
Bennik2000
2020-07-06 17:24:21 -07:00
committed by jp9000
parent 6fcb57daa7
commit f2f336229d
3 changed files with 54 additions and 8 deletions
+3
View File
@@ -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);