common: Don't warn when "closing" InternalPeer
[quassel.git] / src / common / internalpeer.h
index c00319b..a94802d 100644 (file)
@@ -20,6 +20,7 @@
 
 #pragma once
 
+#include <QPointer>
 #include <QString>
 
 #include "peer.h"
@@ -92,5 +93,7 @@ private:
 
 private:
     SignalProxy *_proxy{nullptr};
-    bool _isOpen{false};
+    bool _isOpen{true};
 };
+
+Q_DECLARE_METATYPE(QPointer<InternalPeer>)