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
Network
Konqueror
Commits
ca82dade
Commit
ca82dade
authored
Jan 18, 2021
by
Jonathan Marten
Browse files
webarchiver: Needs QApplication to be created before using I18N
parent
c0222ec6
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/webarchiver/app/main.cpp
View file @
ca82dade
...
...
@@ -32,6 +32,8 @@
int
main
(
int
argc
,
char
*
argv
[])
{
QApplication
app
(
argc
,
argv
);
KAboutData
aboutData
(
"kcreatwebearchive"
,
// componentName
i18n
(
"Web Archiver"
),
// displayName
i18n
(
"0.0.1"
),
// version
...
...
@@ -46,7 +48,6 @@ int main(int argc,char *argv[])
"jjm@keelhaul.me.uk"
,
"http://www.keelhaul.me.uk"
);
QApplication
app
(
argc
,
argv
);
KAboutData
::
setApplicationData
(
aboutData
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
"webarchiver"
));
KCrash
::
setDrKonqiEnabled
(
true
);
...
...
Write
Preview
Supports
Markdown
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