]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/QAbout.C
Convert the CREDITS file to utf8 and spell Ugras' name correctly.
[features.git] / src / frontends / qt4 / QAbout.C
index ecfe9e3b18a1b0d61fe4237acc5d94cc9e4dfe8a..667d316a627493bde0c50f21d76b1fcc4a868fb2 100644 (file)
@@ -105,16 +105,7 @@ void QAbout::build_dialog()
        }
 #endif
 
-       // Try and grab the latin1 codec
-       QTextCodec * const codec =
-               QTextCodec::codecForName("ISO8859-1");
-       if (!codec)
-               lyxerr << "Unable to find ISO8859-1 codec" << std::endl;
-
-       QString const qtext = codec ?
-               codec->toUnicode(out.str().c_str()) :
-               toqstr(out.str());
-       dialog_->creditsTB->setHtml(qtext);
+       dialog_->creditsTB->setHtml(toqstr(out.str()));
 
        // try to resize to a good size
        dialog_->copyrightTB->hide();