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:
@@ -39,7 +39,6 @@ private:
|
||||
|
||||
std::unique_ptr<Ui::OBSBasicInteraction> ui;
|
||||
OBSSource source;
|
||||
OBSDisplay display;
|
||||
OBSSignal removedSignal;
|
||||
OBSSignal renamedSignal;
|
||||
std::unique_ptr<OBSEventFilter> eventFilter;
|
||||
@@ -58,9 +57,6 @@ private:
|
||||
|
||||
OBSEventFilter *BuildEventFilter();
|
||||
|
||||
private slots:
|
||||
void OnInteractionResized();
|
||||
|
||||
public:
|
||||
OBSBasicInteraction(QWidget *parent, OBSSource source_);
|
||||
~OBSBasicInteraction();
|
||||
@@ -68,7 +64,6 @@ public:
|
||||
void Init();
|
||||
|
||||
protected:
|
||||
virtual void resizeEvent(QResizeEvent *event) override;
|
||||
virtual void closeEvent(QCloseEvent *event) override;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user