Removed obsolete setGraphicsSystem call (may break functionality; if so, use QPA framework)

preferencesAboutTextFull
Craig Watson 9 years ago
parent 89c0813e52
commit 1727264325
  1. 6
      src/core/main.cpp

@ -95,11 +95,15 @@ int main(int argc, char *argv[])
qInstallMessageHandler(ub_message_output);
/*
* setGraphicsSystem is obsolete in Qt5, made redundant by the QPA framework.
* TODO: check if this works ok, if not, explore how to use QPA framework
#if defined(Q_OS_LINUX)
qDebug() << "Setting GraphicsSystem to raster";
QApplication::setGraphicsSystem("raster");
#endif
*/
UBApplication app("OpenBoard", argc, argv);
QStringList args = app.arguments();

Loading…
Cancel
Save