mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Remove hardcoded OpenGL
Add nicer message pattern
This commit is contained in:
parent
402494178f
commit
f72abd6c68
@ -45,10 +45,10 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
QGuiApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
|
||||
|
||||
QGuiApplication app(argc, argv);
|
||||
app.setQuitOnLastWindowClosed(false);
|
||||
qSetMessagePattern("%{if-category}%{category}: %{endif}%{message}\n Loc: [%{file}:%{line}]");
|
||||
|
||||
|
||||
QTranslator trsl;
|
||||
|
Loading…
Reference in New Issue
Block a user