corrected typo for icon, refs #44

master
Nick Hangartner 14 years ago
parent 9c3659ed61
commit 7d7eb1e238
  1. 3
      swisssurfer/src/main.cxx

@ -246,9 +246,8 @@ int main(int argv, char** argc) try {
QTextCodec::setCodecForCStrings(utf8); QTextCodec::setCodecForCStrings(utf8);
QTextCodec::setCodecForLocale(utf8); QTextCodec::setCodecForLocale(utf8);
QTextCodec::setCodecForTr(utf8); QTextCodec::setCodecForTr(utf8);
app.setWindowIcon(QIcon(":/icons/appicon
"));
QApplication app(argv, argc); QApplication app(argv, argc);
app.setWindowIcon(QIcon(":/icons/appicon"));
QTranslator qtTranslator; QTranslator qtTranslator;
if (env.contains("LANGUAGE")) QLocale::setDefault(env["LANGUAGE"]); if (env.contains("LANGUAGE")) QLocale::setDefault(env["LANGUAGE"]);
qtTranslator.load(":/language/qt_" + QLocale::system().name()); qtTranslator.load(":/language/qt_" + QLocale::system().name());

Loading…
Cancel
Save