Browse Source

- Remove outdated program preferences

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
0a1ae18412
  1. 16
      src/options.ui
  2. 9
      src/options_imp.cpp
  3. 3
      src/reverseresolution.h

16
src/options.ui

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

9
src/options_imp.cpp

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

3
src/reverseresolution.h

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

Loading…
Cancel
Save