Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
2c23820a
Commit
2c23820a
authored
Jun 08, 2021
by
Jonathan Esk-Riddell
🏄
Committed by
Volker Krause
Jun 08, 2021
Browse files
Initialise kcrash
parent
b197060c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/main.cpp
View file @
2c23820a
...
...
@@ -53,6 +53,9 @@
#include <KLocalizedString>
#include <KAboutData>
#ifndef Q_OS_ANDROID
#include <KCrash>
#endif
#include <QQuickStyle>
#include <QQmlApplicationEngine>
...
...
@@ -215,8 +218,9 @@ int main(int argc, char **argv)
parser
.
addPositionalArgument
(
QStringLiteral
(
"file"
),
i18n
(
"PkPass or JSON-LD file to import."
));
parser
.
process
(
app
);
aboutData
.
processCommandLine
(
&
parser
);
#ifndef Q_OS_ANDROID
KCrash
::
initialize
();
KDBusService
service
(
KDBusService
::
Unique
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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