Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Desktop
Commits
760196c9
Commit
760196c9
authored
Feb 10, 2018
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[knetattach] Fix i18n calls being made before QApp creation
parent
48356537
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
knetattach/main.cpp
knetattach/main.cpp
+1
-1
No files found.
knetattach/main.cpp
View file @
760196c9
...
...
@@ -26,13 +26,13 @@
#include "knetattach.h"
int
main
(
int
argc
,
char
**
argv
)
{
QApplication
app
(
argc
,
argv
);
KLocalizedString
::
setApplicationDomain
(
"knetattach5"
);
KAboutData
aboutData
(
QLatin1String
(
"knetattach"
),
i18n
(
"KDE Network Wizard"
),
PROJECT_VERSION
,
i18n
(
"KDE Network Wizard"
),
KAboutLicense
::
GPL
,
i18n
(
"(c) 2004 George Staikos"
),
QLatin1String
(
"http://www.kde.org/"
));
aboutData
.
addAuthor
(
i18n
(
"George Staikos"
),
i18n
(
"Primary author and maintainer"
),
"staikos@kde.org"
);
QApplication
app
(
argc
,
argv
);
QCommandLineParser
parser
;
KAboutData
::
setApplicationData
(
aboutData
);
parser
.
addVersionOption
();
...
...
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