logger: Dedup code, fix client Debug Log loglevel
[quassel.git] / src / common / internalpeer.h
index c00319b..1469922 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2018 by the Quassel Project                        *
+ *   Copyright (C) 2005-2019 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -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>)