summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_messages.cpp')
-rw-r--r--src/modules/options/optw_messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/options/optw_messages.cpp b/src/modules/options/optw_messages.cpp
index 9eabcce6..efdec4eb 100644
--- a/src/modules/options/optw_messages.cpp
+++ b/src/modules/options/optw_messages.cpp
@@ -292,7 +292,7 @@ void KviMessageListViewItem::paintCell(TQPainter * p,const TQColorGroup &,int,in
// skip the msgtype prefix
TQString txt = (g_msgtypeOptionsTable[m_iOptId].name + 7);
txt += " (";
- txt += __tr2qs_no_xgettext(TQString::fromUtf8(m_pMsgType->type()));
+ txt += __tr2qs_no_xgettext(m_pMsgType->type());
txt += ")";
p->drawText(24,listView()->itemMargin(),w - 24,height() - (listView()->itemMargin() * 2),TQt::AlignLeft | TQt::AlignVCenter,txt);
if(isSelected())
@@ -615,7 +615,7 @@ void KviMessageColorsOptionsWidget::load()
//tqDebug("SYMLINK RETURNS %d (%d)",::symlink(szGlobal.ptr(),szLocal.ptr()));
//tqDebug("ERRNO (%d)",errno);
// "int _ = " used to silence warning from compiler about unchecked returned values
- int _ = symlink(szGlobal,szLocal);
+ int _ = symlink(szGlobal.utf8().data(),szLocal.utf8().data());
// FIXME: Do it also on windows...
#endif