diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-05-16 13:14:34 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-05-16 13:14:34 +0000 |
commit | 95684834ecb45261da1640a4ad8143653698b192 (patch) | |
tree | b0f6da9e6729082ac40812fbb5815109673efd67 /src/game.cpp | |
parent | 99f361699e1c8bbc1e69f4d199863b836b3528a3 (diff) | |
download | plus-95684834ecb45261da1640a4ad8143653698b192.tar.gz plus-95684834ecb45261da1640a4ad8143653698b192.tar.bz2 plus-95684834ecb45261da1640a4ad8143653698b192.tar.xz plus-95684834ecb45261da1640a4ad8143653698b192.zip |
Refactor loadFromLogFile calls into ChatTab contructor
This has the side effect that now #Debug history is also loaded.
****
mana/plus!84
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 4e3c399cd..69daa254d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -293,8 +293,6 @@ static void createGuiWindows() localChatTab = new ChatTab(chatWindow, _("General"), GENERAL_CHANNEL, "#General", ChatTabType::INPUT); localChatTab->setAllowHighlight(false); - if (config.getBoolValue("showChatHistory")) - localChatTab->loadFromLogFile("#General"); // TRANSLATORS: chat tab header debugChatTab = new ChatTab(chatWindow, _("Debug"), "", |