SettingsDialog: A few improvements

This commit is contained in:
tt2468 2021-06-06 00:47:52 -07:00
parent 3852a387b5
commit 5e49ee2569
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@ OBSWebSocket.Settings.PluginSettingsTitle="Plugin Settings"
OBSWebSocket.Settings.ServerEnable="Enable WebSocket server" OBSWebSocket.Settings.ServerEnable="Enable WebSocket server"
OBSWebSocket.Settings.AlertsEnable="Enable System Tray Alerts" OBSWebSocket.Settings.AlertsEnable="Enable System Tray Alerts"
OBSWebSocket.Settings.DebugEnable="Enable Debug Logging" OBSWebSocket.Settings.DebugEnable="Enable Debug Logging"
OBSWebSocket.Settings.DebugEnableHoverText="Enables debug logging for the current instance of OBS. Does not persist on load. Use --websocket_debug to enable on load." OBSWebSocket.Settings.DebugEnableHoverText="Enables debug logging for the current instance of OBS. Does not persist on load.\nUse --websocket_debug to enable on load."
OBSWebSocket.Settings.ServerSettingsTitle="Server Settings" OBSWebSocket.Settings.ServerSettingsTitle="Server Settings"
OBSWebSocket.Settings.AuthRequired="Enable Authentication" OBSWebSocket.Settings.AuthRequired="Enable Authentication"

View File

@ -29,7 +29,11 @@ SettingsDialog::SettingsDialog(QWidget* parent) :
ui->websocketSessionTable->horizontalHeader()->resizeSection(3, 100); // Resize Session Table column widths ui->websocketSessionTable->horizontalHeader()->resizeSection(3, 100); // Resize Session Table column widths
ui->websocketSessionTable->horizontalHeader()->resizeSection(4, 100); ui->websocketSessionTable->horizontalHeader()->resizeSection(4, 100);
ui->enableDebugLoggingToolTipLabel->setText(GetToolTipIconHtml()); // Set the appropriate tooltip icon for the theme // Remove the ? button on dialogs on Windows
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
// Set the appropriate tooltip icon for the theme
ui->enableDebugLoggingToolTipLabel->setText(GetToolTipIconHtml());
connect(sessionTableTimer, &QTimer::timeout, connect(sessionTableTimer, &QTimer::timeout,
this, &SettingsDialog::FillSessionTable); this, &SettingsDialog::FillSessionTable);