forked from qt-creator/qt-creator
ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII.
- Add missing translations - Remove some unneeded conversions. Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -754,10 +754,10 @@ void ProjectExplorer::ProjectExplorerPlugin::testAbiOfBinary_data()
|
||||
<< (QStringList());
|
||||
|
||||
// Set up prefix for test data now that we can be sure to have some tests to run:
|
||||
QString prefix = qgetenv("QTC_TEST_EXTRADATALOCATION");
|
||||
QString prefix = QString::fromLocal8Bit(qgetenv("QTC_TEST_EXTRADATALOCATION"));
|
||||
if (prefix.isEmpty())
|
||||
return;
|
||||
prefix += "/projectexplorer/abi";
|
||||
prefix += QLatin1String("/projectexplorer/abi");
|
||||
|
||||
QFileInfo fi(prefix);
|
||||
if (!fi.exists() || !fi.isDir())
|
||||
|
||||
Reference in New Issue
Block a user