playback/player: qt: use QApplication instead of QGuiApplication
This avoids the following fatal error: "QWidget: Cannot create a QWidget without QApplication" https://bugzilla.gnome.org/show_bug.cgi?id=781789
This commit is contained in:
parent
71d85d3393
commit
175f7c8da1
@ -29,7 +29,9 @@
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QGuiApplication app(argc, argv);
|
||||
/* Use QApplication instead of QGuiApplication since the latter is needed
|
||||
* for widgets like the QFileDialog to work */
|
||||
QApplication app(argc, argv);
|
||||
int result;
|
||||
|
||||
QCommandLineParser parser;
|
||||
|
Loading…
x
Reference in New Issue
Block a user