Browse Source

Cosmetic fixes to torrent creator

adaptive-webui-19844
Nick Tiskov 12 years ago
parent
commit
a8f29e51c5
  1. 2
      src/torrentcreator/createtorrent.ui
  2. 2
      src/torrentcreator/torrentcreatorthread.cpp

2
src/torrentcreator/createtorrent.ui

@ -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>

2
src/torrentcreator/torrentcreatorthread.cpp

@ -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…
Cancel
Save