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
K
KDE Pim
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
Unmaintained
KDE Pim
Commits
21012981
Commit
21012981
authored
May 20, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor optimization
parent
8f666fae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
kmail/src/kmlaunchexternalcomponent.cpp
kmail/src/kmlaunchexternalcomponent.cpp
+2
-6
No files found.
kmail/src/kmlaunchexternalcomponent.cpp
View file @
21012981
...
...
@@ -119,9 +119,7 @@ void KMLaunchExternalComponent::slotAddrBook()
void
KMLaunchExternalComponent
::
slotImport
()
{
QStringList
lst
;
lst
.
append
(
QStringLiteral
(
"--mode"
));
lst
.
append
(
QStringLiteral
(
"manual"
));
const
QStringList
lst
=
{
QStringLiteral
(
"--mode"
),
QStringLiteral
(
"manual"
)};
const
QString
path
=
QStandardPaths
::
findExecutable
(
QStringLiteral
(
"importwizard"
));
if
(
!
QProcess
::
startDetached
(
path
,
lst
))
{
KMessageBox
::
error
(
mParentWidget
,
i18n
(
"Could not start the ImportWizard. "
...
...
@@ -132,9 +130,7 @@ void KMLaunchExternalComponent::slotImport()
void
KMLaunchExternalComponent
::
slotAccountWizard
()
{
QStringList
lst
;
lst
.
append
(
QStringLiteral
(
"--type"
));
lst
.
append
(
QStringLiteral
(
"message/rfc822"
));
const
QStringList
lst
=
{
QStringLiteral
(
"--type"
),
QStringLiteral
(
"message/rfc822"
)
};
const
QString
path
=
QStandardPaths
::
findExecutable
(
QStringLiteral
(
"accountwizard"
));
if
(
!
QProcess
::
startDetached
(
path
,
lst
))
{
...
...
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