[GUI] Remove code for Qt < 5.9
This commit is contained in:
@@ -289,9 +289,7 @@ TaskDialogPython::TaskDialogPython(const Py::Object& o) : dlg(o)
|
||||
{
|
||||
if (dlg.hasAttr(std::string("ui"))) {
|
||||
UiLoader loader;
|
||||
#if QT_VERSION >= 0x040500
|
||||
loader.setLanguageChangeEnabled(true);
|
||||
#endif
|
||||
QString fn, icon;
|
||||
Py::String ui(dlg.getAttr(std::string("ui")));
|
||||
std::string path = (std::string)ui;
|
||||
|
||||
Reference in New Issue
Block a user