summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
commit5c4c66c0873e2b21d87929ab7e3389883c4ee074 (patch)
tree1c14043c6b4d6089e0f15006f902b4ef8697be26 /src/gui
parent43abb22c0626529c8465f25bd62b813898abe840 (diff)
downloadplus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.gz
plus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.bz2
plus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.xz
plus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.zip
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/charselectdialog.cpp1
-rw-r--r--src/gui/windows/chatwindow.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 46810c2cd..5038195d2 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -164,6 +164,7 @@ CharSelectDialog::CharSelectDialog(LoginData &data) :
CharSelectDialog::~CharSelectDialog()
{
+ mDeleteDialog = nullptr;
}
void CharSelectDialog::postInit()
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index d0284af94..0b4d550dd 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1741,7 +1741,7 @@ bool ChatWindow::resortChatLog(std::string line,
tryRemoveColors);
}
}
- else if ((localChatTab != nullptr) && channel.empty())
+ else if (localChatTab != nullptr)
{
localChatTab->chatLog(line, own, ignoreRecord, tryRemoveColors);
}