[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ktorrent] ktorrent: avoid qurl->qstring->qurl conversions
From: Nick Shaforostoff <shafff () ukr ! net>
Date: 2016-02-14 22:59:56
Message-ID: E1aV5e0-0003zQ-57 () scm ! kde ! org
[Download RAW message or body]
Git commit cfc73a997357a01b4cbfd27b796304a1f419c7f0 by Nick Shaforostoff.
Committed on 14/02/2016 at 22:58.
Pushed by shaforo into branch 'master'.
avoid qurl->qstring->qurl conversions
BUG: 344101
octafianto: i could download the specified magnet link and mp3 file it points to fine
with ktorrent for kde5 frameworks
M +2 -2 ktorrent/core.cpp
http://commits.kde.org/ktorrent/cfc73a997357a01b4cbfd27b796304a1f419c7f0
diff --git a/ktorrent/core.cpp b/ktorrent/core.cpp
index a8cb318..2f9879b 100644
--- a/ktorrent/core.cpp
+++ b/ktorrent/core.cpp
@@ -448,7 +448,7 @@ namespace kt
MagnetLinkLoadOptions options;
options.silently = false;
options.group = group;
- load(bt::MagnetLink(url.toDisplayString()), options);
+ load(bt::MagnetLink(url), options);
}
else if (url.isLocalFile())
{
@@ -520,7 +520,7 @@ namespace kt
MagnetLinkLoadOptions options;
options.silently = true;
options.group = group;
- load(bt::MagnetLink(url.toDisplayString()), options);
+ load(bt::MagnetLink(url), options);
}
else if (url.isLocalFile())
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic