Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.4
-
None
-
Microsoft Visual C++ 2008 Express
-
1c7d9a533509d510047c1ff4045e88262139c6aa
Description
The bug occured in this implementation :
LanguageDialog::LanguageDialog(MainWindow *parent) : QDialog(parent,Qt::WindowTitleHint|Qt::WindowSystemMenuHint), (...) { (...) map<QString,QString> d; (...) d[possiblyComplete(tr("English"), "English")] = "English"; // BUG here (...) }
I found this workaround for the last line :
QString &englishTr = tr("English"); d[possiblyComplete(englishTr, "English")] = "English";