summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index cd9f5cb..f814d00 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -8,6 +8,7 @@
#include "ui_mainwindow.h"
class SlxOutput;
+class QShowEvent;
namespace PulseAudioQt {
class Device;
class Port;
@@ -32,6 +33,9 @@ public:
void mark();
void sweep();
+protected:
+ void showEvent(QShowEvent *ev) override;
+
private:
QMap<QString, SlxOutput*> _widgets;
QSize _originalSize;