mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Cosmetic fixes to torrent creator
This commit is contained in:
parent
964b321458
commit
a8f29e51c5
@ -124,7 +124,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string comment="Tracker tier is a list of trackers, consisting of a main tracker and it's mirrors">You can separate tracker tiers with newlines</string>
|
<string comment="A tracker tier is a group of trackers, consisting of a main tracker and its mirrors.">You can separate tracker tiers / groups with an empty line.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="acceptRichText">
|
<property name="acceptRichText">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
|
@ -113,7 +113,7 @@ void TorrentCreatorThread::run() {
|
|||||||
foreach (const QString &seed, url_seeds) {
|
foreach (const QString &seed, url_seeds) {
|
||||||
t.add_url_seed(seed.trimmed().toStdString());
|
t.add_url_seed(seed.trimmed().toStdString());
|
||||||
}
|
}
|
||||||
qint32 tier = 0;
|
int tier = 0;
|
||||||
bool newline = false;
|
bool newline = false;
|
||||||
foreach (const QString &tracker, trackers) {
|
foreach (const QString &tracker, trackers) {
|
||||||
if (tracker.isEmpty()) {
|
if (tracker.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user