src: Mark symbols to be exported where needed
[quassel.git] / src / common / internalpeer.h
index f40f8eb..62e070d 100644 (file)
@@ -20,6 +20,8 @@
 
 #pragma once
 
+#include "common-export.h"
+
 #include <QPointer>
 #include <QString>
 
@@ -27,7 +29,7 @@
 #include "protocol.h"
 #include "signalproxy.h"
 
-class InternalPeer : public Peer
+class COMMON_EXPORT InternalPeer : public Peer
 {
     Q_OBJECT
 
@@ -93,7 +95,7 @@ private:
 
 private:
     SignalProxy *_proxy{nullptr};
-    bool _isOpen{false};
+    bool _isOpen{true};
 };
 
 Q_DECLARE_METATYPE(QPointer<InternalPeer>)