Change qPrintable to qUtf8Printable to better support non-ASCII text

This commit is contained in:
LostDragonist
2019-01-05 16:34:11 -06:00
parent b939f7e88e
commit c9d77cf948
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1408,7 +1408,7 @@ QList<QObject*> PythonRunner::instantiate(const QString &pluginName)
return interfaceList;
} catch (const bpy::error_already_set&) {
qWarning("failed to run python script \"%s\"", qPrintable(pluginName));
qWarning("failed to run python script \"%s\"", qUtf8Printable(pluginName));
reportPythonError();
}
return QList<QObject*>();