Commit 17a29501 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

use QString::fromLocal8Bit to handle QByteArray conversion

parent 9cd07bac
......@@ -1137,10 +1137,10 @@ void EditProfileDialog::setupAdvancedPage(const Profile::Ptr profile)
void EditProfileDialog::setDefaultCodec(QTextCodec* codec)
QString name = QString(codec->name());
QString name = QString::fromLocal8Bit(codec->name());
updateTempProfileProperty(Profile::DefaultEncoding, name);
void EditProfileDialog::customCursorColorChanged(const QColor& color)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment