Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
Gluon
Commits
fe496835
Commit
fe496835
authored
Mar 08, 2011
by
Laszlo Papp
Browse files
BUG: 267987 New: gluon_qtplayer crashes with not existing target
parent
914e1222
Changes
1
Hide whitespace changes
Inline
Side-by-side
player/qt/main.cpp
View file @
fe496835
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment