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
Network
KGet
Commits
bd08a346
Commit
bd08a346
authored
Jul 31, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
3682529a
Pipeline
#210930
passed with stage
in 6 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
transfer-plugins/bittorrent/advanceddetails/trackerview.cpp
View file @
bd08a346
...
...
@@ -100,7 +100,7 @@ namespace kt
// check for dupes
if
(
!
tc
->
getTrackersList
()
->
addTracker
(
url
,
true
))
{
KMessageBox
::
sorry
(
nullptr
,
i18n
(
"There already is a tracker named <b>%1</b>."
,
text
));
KMessageBox
::
error
(
nullptr
,
i18n
(
"There already is a tracker named <b>%1</b>."
,
text
));
}
else
{
...
...
transfer-plugins/bittorrent/bttransfer.cpp
View file @
bd08a346
...
...
@@ -257,7 +257,7 @@ void BTTransfer::addTracker(const QString &url)
{
qCDebug
(
KGET_DEBUG
);
if
(
torrent
->
getStats
().
priv_torrent
)
{
KMessageBox
::
sorry
(
nullptr
,
i18n
(
"Cannot add a tracker to a private torrent."
));
KMessageBox
::
error
(
nullptr
,
i18n
(
"Cannot add a tracker to a private torrent."
));
return
;
}
...
...
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