Skip to content

Commit 2363c22

Browse files
committed
Settings Dialog: Don't need ShowSettingsDialog()
1 parent e6c2c90 commit 2363c22

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/obs-websocket.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,9 @@ WSEventsPtr GetEventsSystem() {
117117
return _eventsSystem;
118118
}
119119

120-
void ShowSettingsDialog() {
121-
if (settingsDialog) {
122-
settingsDialog->setVisible(true);
123-
}
124-
}
125-
126120
void ShowPasswordSetting() {
127121
if (settingsDialog) {
128122
settingsDialog->PreparePasswordEntry();
129123
settingsDialog->setVisible(true);
130124
}
131-
}
125+
}

src/obs-websocket.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ typedef std::shared_ptr<WSEvents> WSEventsPtr;
5555
ConfigPtr GetConfig();
5656
WSServerPtr GetServer();
5757
WSEventsPtr GetEventsSystem();
58-
void ShowSettingsDialog();
5958
void ShowPasswordSetting();
6059

6160
#define OBS_WEBSOCKET_VERSION "4.8.0"

0 commit comments

Comments
 (0)