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:
Carlos Rafael Giani 2017-04-26 20:08:19 +02:00 committed by Sebastian Dröge
parent 71d85d3393
commit 175f7c8da1

View file

@ -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;