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

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);
_ui->characterEncodingLabel->setText(codec->name());
_ui->characterEncodingLabel->setText(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