Make more use of single pattern

This commit is contained in:
Rasmus Karlsson
2017-12-17 02:18:13 +01:00
parent d5f1c6acec
commit 70cbb9df7f
35 changed files with 146 additions and 249 deletions
+1 -4
View File
@@ -20,7 +20,6 @@ namespace chatterino {
class ChannelManager;
class Resources;
class EmoteManager;
class WindowManager;
class IrcManager : public QObject
@@ -28,8 +27,7 @@ class IrcManager : public QObject
Q_OBJECT
public:
IrcManager(ChannelManager &channelManager, Resources &resources, EmoteManager &emoteManager,
WindowManager &windowManager);
IrcManager(ChannelManager &channelManager, Resources &resources, WindowManager &windowManager);
void connect();
void disconnect();
@@ -51,7 +49,6 @@ public:
ChannelManager &channelManager;
Resources &resources;
EmoteManager &emoteManager;
WindowManager &windowManager;
private: