aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogViewWindow.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2018-06-10 00:16:59 +0100
committerGravatar IceN9ne2018-11-14 08:59:22 -0500
commite4a34cb9b7d59a08a162d642fbbca8c08804b3ff (patch)
treeb3c5524281b4714da91729ffd19c9abbc95f8c62 /src/modules/logview/LogViewWindow.cpp
parentUse C++14 (diff)
downloadKVIrc-e4a34cb9b7d59a08a162d642fbbca8c08804b3ff.tar.gz
KVIrc-e4a34cb9b7d59a08a162d642fbbca8c08804b3ff.tar.bz2
KVIrc-e4a34cb9b7d59a08a162d642fbbca8c08804b3ff.zip
Apply all modernize-* fixes from clang-tidy except for modernize-use-auto
Diffstat (limited to 'src/modules/logview/LogViewWindow.cpp')
-rw-r--r--src/modules/logview/LogViewWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/logview/LogViewWindow.cpp b/src/modules/logview/LogViewWindow.cpp
index c0cb2590d..f954ad9df 100644
--- a/src/modules/logview/LogViewWindow.cpp
+++ b/src/modules/logview/LogViewWindow.cpp
@@ -58,7 +58,7 @@
#include <QCheckBox>
#include <QMenu>
-#include <limits.h> //for INT_MAX
+#include <climits> //for INT_MAX
extern LogViewWindow * g_pLogViewWindow;
@@ -739,7 +739,7 @@ void LogViewWindow::createLog(LogFile * pLog, int iId, QString * pszFile)
// insert msgtype icon at start of the current text line
KviMessageTypeSettings msg(KVI_OPTION_MSGTYPE(iMsgType));
QString szIcon = g_pIconManager->getSmallIconResourceName((KviIconManager::SmallIcon)msg.pixId());
- szTmp.prepend("<img src=\"" + szIcon + "\" alt=\"\" /> ");
+ szTmp.prepend("<img src=\"" + szIcon + R"(" alt="" /> )");
/*
* Check if the nick who has talked is the same of the above line.