1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- Remove outdated program preferences

This commit is contained in:
Christophe Dumez 2009-11-14 14:18:32 +00:00
parent cd50c3299e
commit 0a1ae18412
3 changed files with 12 additions and 16 deletions

View File

@ -484,7 +484,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title"> <property name="title">
<string comment="Action executed when doucle-clicking on an item in transfer (download/upload) list">Action for double click</string> <string comment="Action executed when doucle-clicking on an item in transfer (download/upload) list">Action on double click</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
@ -492,7 +492,7 @@
<item> <item>
<widget class="QLabel" name="lblDlList_2"> <widget class="QLabel" name="lblDlList_2">
<property name="text"> <property name="text">
<string>Download list:</string> <string>Downloading:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -517,11 +517,6 @@
<string>Open folder</string> <string>Open folder</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>Show properties</string>
</property>
</item>
</widget> </widget>
</item> </item>
<item> <item>
@ -544,7 +539,7 @@
<item> <item>
<widget class="QLabel" name="lblUploadList"> <widget class="QLabel" name="lblUploadList">
<property name="text"> <property name="text">
<string>Seeding list:</string> <string>Completed:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -560,11 +555,6 @@
<string>Open folder</string> <string>Open folder</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>Show properties</string>
</property>
</item>
</widget> </widget>
</item> </item>
<item> <item>

View File

@ -573,9 +573,14 @@ void options_imp::loadOptions(){
textScanDir->setText(strValue); textScanDir->setText(strValue);
enableDirScan(2); enableDirScan(2);
} }
actionTorrentDlOnDblClBox->setCurrentIndex(settings.value(QString::fromUtf8("DblClOnTorDl"), 0).toInt()); intValue = settings.value(QString::fromUtf8("DblClOnTorDl"), 0).toInt();
actionTorrentFnOnDblClBox->setCurrentIndex(settings.value(QString::fromUtf8("DblClOnTorFn"), 0).toInt()); if(intValue >= actionTorrentDlOnDblClBox->count())
intValue = 0;
actionTorrentDlOnDblClBox->setCurrentIndex(intValue);
intValue = settings.value(QString::fromUtf8("DblClOnTorFn"), 1).toInt(); intValue = settings.value(QString::fromUtf8("DblClOnTorFn"), 1).toInt();
if(intValue >= actionTorrentFnOnDblClBox->count())
intValue = 1;
actionTorrentFnOnDblClBox->setCurrentIndex(intValue);
// End Downloads preferences // End Downloads preferences
settings.endGroup(); settings.endGroup();
// Connection preferences // Connection preferences

View File

@ -115,7 +115,8 @@ protected slots:
if(!ips.empty()) if(!ips.empty())
cond.wakeOne(); cond.wakeOne();
mut.unlock(); mut.unlock();
sender()->deleteLater(); delete sender();
//sender()->deleteLater();
} }
protected: protected: