diff options
Diffstat (limited to 'src/modules/options/optw_messages.cpp')
| -rw-r--r-- | src/modules/options/optw_messages.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/options/optw_messages.cpp b/src/modules/options/optw_messages.cpp index ea9dfafb..77f853b2 100644 --- a/src/modules/options/optw_messages.cpp +++ b/src/modules/options/optw_messages.cpp @@ -47,6 +47,8 @@ #include "kvi_config.h" #include "kvi_filedialog.h" +#include <tuple> + //#warning "Info tips" #ifdef COMPILE_PSEUDO_TRANSPARENCY @@ -292,7 +294,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()) @@ -614,7 +616,7 @@ void KviMessageColorsOptionsWidget::load() //tqDebug("SYMLINKING %s to %s",szGlobal.ptr(),szLocal.ptr()); //tqDebug("SYMLINK RETURNS %d (%d)",::symlink(szGlobal.ptr(),szLocal.ptr())); //tqDebug("ERRNO (%d)",errno); - symlink(szGlobal,szLocal); + std::ignore = symlink(szGlobal.utf8().data(),szLocal.utf8().data()); // FIXME: Do it also on windows... #endif @@ -665,4 +667,4 @@ void KviMessageColorsOptionsWidget::load() } } -#include "m_optw_messages.moc" +#include "optw_messages.moc" |
