aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogFile.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2023-09-27 17:22:01 +0200
committerGravatar ctrlaltca2023-10-18 10:26:35 +0200
commit2e402d15b5eb28cc70ce5783ebf6473bab97949a (patch)
treea500cdefe65b9126e45e816b2cfa8705bbbf96ca /src/modules/logview/LogFile.cpp
parentPort QDateTime::setTime_t() to setSecsSinceEpoch() (diff)
downloadKVIrc-2e402d15b5eb28cc70ce5783ebf6473bab97949a.tar.gz
KVIrc-2e402d15b5eb28cc70ce5783ebf6473bab97949a.tar.bz2
KVIrc-2e402d15b5eb28cc70ce5783ebf6473bab97949a.zip
Qt6 is stricter when casting numericals and chars. Add an explicit cast/conversion to better digest them
cast
Diffstat (limited to 'src/modules/logview/LogFile.cpp')
-rw-r--r--src/modules/logview/LogFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/logview/LogFile.cpp b/src/modules/logview/LogFile.cpp
index 0c15b27be..bb2235545 100644
--- a/src/modules/logview/LogFile.cpp
+++ b/src/modules/logview/LogFile.cpp
@@ -207,7 +207,7 @@ void LogFile::createLog(ExportType exportType, QString szLog, QString * pszFile)
/* Save export directory - this directory path is also used in the HTML export
* and info is used when working with pszFile */
QFileInfo info(szLog);
- szLogDir = info.absoluteDir().absolutePath() + KVI_PATH_SEPARATOR_CHAR;
+ szLogDir = info.absoluteDir().absolutePath() + QString(KVI_PATH_SEPARATOR_CHAR);
/* Reading in log file - LogFiles are read in as bytes, so '\r' isn't
* sanitised by default */