UI: Warn when closing dock widgets for first time
Users don't realize that dockable windows can be closed (hidden) and can be shown again via the View menu. This adds an explicit warning when the user first closes a dockable window for their first time. In future versions, this should be changed to a dialog box with a "Do not show again" checkbox.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "window-basic-main.hpp"
|
||||
#include "remote-text.hpp"
|
||||
#include "window-dock.hpp"
|
||||
|
||||
#include <json11.hpp>
|
||||
|
||||
@@ -165,9 +166,9 @@ bool TwitchAuth::LoadInternal()
|
||||
return OAuthStreamKey::LoadInternal();
|
||||
}
|
||||
|
||||
class TwitchWidget : public QDockWidget {
|
||||
class TwitchWidget : public OBSDock {
|
||||
public:
|
||||
inline TwitchWidget() : QDockWidget() {}
|
||||
inline TwitchWidget() : OBSDock() {}
|
||||
|
||||
QScopedPointer<QCefWidget> widget;
|
||||
|
||||
|
Reference in New Issue
Block a user