Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PIM Data Exporter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
PIM Data Exporter
Commits
7684067e
Commit
7684067e
authored
Sep 13, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove i18n
parent
5f045949
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
gui/tests/showarchivestructuredialog_gui.cpp
gui/tests/showarchivestructuredialog_gui.cpp
+2
-3
No files found.
gui/tests/showarchivestructuredialog_gui.cpp
View file @
7684067e
...
...
@@ -19,7 +19,6 @@
#include "../dialog/showarchivestructuredialog.h"
#include <KLocalizedString>
#include <QFileDialog>
#include <QApplication>
#include <QCommandLineParser>
...
...
@@ -33,14 +32,14 @@ int main(int argc, char **argv)
QCommandLineParser
parser
;
parser
.
addVersionOption
();
parser
.
addHelpOption
();
parser
.
addOption
(
QCommandLineOption
(
QStringList
()
<<
QStringLiteral
(
"+[url]"
),
i18n
(
"URL of a archive to open"
)));
parser
.
addOption
(
QCommandLineOption
(
QStringList
()
<<
QStringLiteral
(
"+[url]"
),
QStringLiteral
(
"URL of a archive to open"
)));
parser
.
process
(
app
);
QString
fileName
;
if
(
parser
.
positionalArguments
().
count
())
{
fileName
=
parser
.
positionalArguments
().
at
(
0
);
}
else
{
fileName
=
QFileDialog
::
getOpenFileName
(
nullptr
,
QString
(),
QString
(),
i18n
(
"Zip file (*.zip)"
));
fileName
=
QFileDialog
::
getOpenFileName
(
nullptr
,
QString
(),
QString
(),
QStringLiteral
(
"Zip file (*.zip)"
));
}
if
(
fileName
.
isEmpty
())
{
return
0
;
...
...
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