Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
2cb2d4e1
Commit
2cb2d4e1
authored
Feb 14, 2022
by
Laurent Montel
Browse files
Add comment
parent
7877a4aa
Pipeline
#137120
failed with stage
in 2 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerconfigureplugins/openurlwith/openurlwithconfigurewidget.cpp
View file @
2cb2d4e1
...
...
@@ -59,6 +59,7 @@ void OpenUrlWithConfigureWidget::writeSettings()
MessageViewer
::
OpenWithUrlInfo
r
;
r
.
setCommand
(
item
->
text
(
1
));
r
.
setUrl
(
item
->
text
(
0
));
// TODO add command lines
rules
.
append
(
r
);
}
MessageViewer
::
OpenUrlWithManager
::
self
()
->
setOpenWithUrlInfo
(
rules
);
...
...
@@ -74,6 +75,7 @@ void OpenUrlWithConfigureWidget::slotAddRule()
auto
item
=
new
QTreeWidgetItem
(
mTreeWidget
);
item
->
setText
(
0
,
info
.
url
);
item
->
setText
(
1
,
info
.
command
);
// TODO add command lines
// TODO verify if info is duplicate or not.
}
}
...
...
@@ -95,6 +97,7 @@ void OpenUrlWithConfigureWidget::slotEditRule()
item
->
setText
(
0
,
info
.
url
);
item
->
setText
(
1
,
info
.
command
);
// TODO verify if info is duplicate or not.
// TODO add command lines
}
}
delete
dlg
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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