aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar ctrlaltca2025-06-16 22:22:29 +0200
committerGravatar GitHub2025-06-16 22:22:29 +0200
commit5882316f4ccd20a768ae296e1d7efcdfed45d0a3 (patch)
treef1ca261563b7102991e19962d4027e46313015a4 /src/modules
parentSupport sending authorization ID in SASL EXTERNAL (#2700) (diff)
downloadKVIrc-5882316f4ccd20a768ae296e1d7efcdfed45d0a3.tar.gz
KVIrc-5882316f4ccd20a768ae296e1d7efcdfed45d0a3.tar.bz2
KVIrc-5882316f4ccd20a768ae296e1d7efcdfed45d0a3.zip
KviControlCodes: fix compilation with Qt >= 6.9 (#2705)
* KviControlCodes: Qt >= 6.9's QChar removed implicit casts from ctors, add explicit cast to accommodate * Update github action jobs
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/regchan/libkviregchan.cpp2
-rw-r--r--src/modules/spaste/SlowPasteController.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/regchan/libkviregchan.cpp b/src/modules/regchan/libkviregchan.cpp
index cefc0b9da..1bd27b48c 100644
--- a/src/modules/regchan/libkviregchan.cpp
+++ b/src/modules/regchan/libkviregchan.cpp
@@ -223,7 +223,7 @@ static bool regchan_kvs_cmd_showlist(KviKvsModuleCommandCall * c)
c->window()->outputNoFmt(
KVI_OUT_SYSTEMMESSAGE,
__tr2qs_ctx("Channel: %1%2@%3", "register")
- .arg(QChar(KviControlCodes::Bold))
+ .arg(QChar((char)KviControlCodes::Bold))
.arg(ch->name())
.arg(ch->netMask()));
diff --git a/src/modules/spaste/SlowPasteController.cpp b/src/modules/spaste/SlowPasteController.cpp
index f60e84396..60c66dae2 100644
--- a/src/modules/spaste/SlowPasteController.cpp
+++ b/src/modules/spaste/SlowPasteController.cpp
@@ -111,7 +111,7 @@ void SlowPasteController::pasteFile()
{
line = data;
if(line.isEmpty())
- line = QChar(KviControlCodes::Reset);
+ line = QChar((char)KviControlCodes::Reset);
line.replace('\t', QString(KVI_OPTION_UINT(KviOption_uintSpacesToExpandTabulationInput), ' ')); //expand tabs to spaces