mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Prune obs_display code from secondary windows
(Non-compiling commit: windowless-context branch) Now that all obs_display related code has been moved to OBSQTDisplay, we can prune a whole bunch of boilerplate code that had to be repeated for the displays of each window. Affects: - Properties - Filters - Interact - Projector
This commit is contained in:
@@ -36,7 +36,6 @@ private:
|
||||
bool acceptClicked;
|
||||
|
||||
OBSSource source;
|
||||
OBSDisplay display;
|
||||
OBSSignal removedSignal;
|
||||
OBSSignal renamedSignal;
|
||||
OBSSignal updatePropertiesSignal;
|
||||
@@ -53,7 +52,6 @@ private:
|
||||
void Cleanup();
|
||||
|
||||
private slots:
|
||||
void OnPropertiesResized();
|
||||
void on_buttonBox_clicked(QAbstractButton *button);
|
||||
|
||||
public:
|
||||
@@ -63,7 +61,6 @@ public:
|
||||
void Init();
|
||||
|
||||
protected:
|
||||
virtual void resizeEvent(QResizeEvent *event) override;
|
||||
virtual void closeEvent(QCloseEvent *event) override;
|
||||
virtual void reject() override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user