Commit fe496835 authored by Laszlo Papp's avatar Laszlo Papp
Browse files

BUG: 267987 New: gluon_qtplayer crashes with not existing target

parent 914e1222
......@@ -22,8 +22,16 @@
#include <QtGui/QApplication>
#include <QtCore/QFile>
#include <QtCore/QDebug>
int main( int argc, char** argv )
{
if (argc > 1 && !QFile::exists(argv[1])) {
qDebug() << QString("File does not exist: ") + argv[1];
return 1;
}
QApplication app( argc, argv );
app.setOrganizationName( "KDE Gluon" );
app.setApplicationName( "Gluon Player" );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment