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:
jp9000
2015-08-05 01:07:13 -07:00
parent f0b903435c
commit e93ca4cd10
8 changed files with 32 additions and 136 deletions
-5
View File
@@ -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;
};