summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_label.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-08 22:21:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-20 19:07:47 +0900
commit84136f93b36f0107deca190ebc105e3216b0638f (patch)
treec3dcaff9a31760e7471822c09606a38ec9f8f4df /src/modules/objects/class_label.cpp
parent111d9fbdfdbb78cdf3203c37761ecd5d422fa01c (diff)
downloadkvirc-84136f93b36f0107deca190ebc105e3216b0638f.tar.gz
kvirc-84136f93b36f0107deca190ebc105e3216b0638f.zip
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/objects/class_label.cpp')
-rw-r--r--src/modules/objects/class_label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/class_label.cpp b/src/modules/objects/class_label.cpp
index c393943..85a757a 100644
--- a/src/modules/objects/class_label.cpp
+++ b/src/modules/objects/class_label.cpp
@@ -383,7 +383,7 @@ bool KviKvsObject_label::functionSetImage(KviKvsObjectFunctionCall *c)
KVSO_PARAMETER("icon",KVS_PT_STRING,0,icon)
KVSO_PARAMETERS_END(c)
if(!widget())return true;
- TQPixmap * pix = g_pIconManager->getImage(icon);
+ TQPixmap * pix = g_pIconManager->getImage(icon.local8Bit());
if(pix) ((TQLabel *)widget())->setPixmap(*pix);
return true;
}