From 01efa1f447f9ec12daa39f552c4a22fee09a0d0e Mon Sep 17 00:00:00 2001 From: fourtf Date: Wed, 17 Jan 2018 15:07:55 +0100 Subject: [PATCH] Fixes #233 manual reconnect --- src/singletons/ircmanager.hpp | 2 +- src/widgets/helper/splitheader.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/singletons/ircmanager.hpp b/src/singletons/ircmanager.hpp index 7b9e23261..1fd701f43 100644 --- a/src/singletons/ircmanager.hpp +++ b/src/singletons/ircmanager.hpp @@ -93,5 +93,5 @@ private: QByteArray messageSuffix; }; +} // namespace singletons } // namespace chatterino -} diff --git a/src/widgets/helper/splitheader.cpp b/src/widgets/helper/splitheader.cpp index 06b8026c3..8683f85c6 100644 --- a/src/widgets/helper/splitheader.cpp +++ b/src/widgets/helper/splitheader.cpp @@ -231,6 +231,7 @@ void SplitHeader::menuReloadChannelEmotes() void SplitHeader::menuManualReconnect() { + singletons::IrcManager::getInstance().connect(); } void SplitHeader::menuShowChangelog()