mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
added missing handle to modify mTrustFriendNodesWithBannedFiles
This commit is contained in:
parent
3f8e8805a2
commit
0c9b086bd1
@ -53,6 +53,7 @@ TransferPage::TransferPage(QWidget * parent, Qt::WindowFlags flags)
|
|||||||
QObject::connect(ui._diskSpaceLimit_SB,SIGNAL(valueChanged(int)),this,SLOT(updateDiskSizeLimit(int))) ;
|
QObject::connect(ui._diskSpaceLimit_SB,SIGNAL(valueChanged(int)),this,SLOT(updateDiskSizeLimit(int))) ;
|
||||||
QObject::connect(ui._max_tr_up_per_sec_SB, SIGNAL( valueChanged( int ) ), this, SLOT( updateMaxTRUpRate(int) ) );
|
QObject::connect(ui._max_tr_up_per_sec_SB, SIGNAL( valueChanged( int ) ), this, SLOT( updateMaxTRUpRate(int) ) );
|
||||||
QObject::connect(ui._filePermDirectDL_CB,SIGNAL(activated(int)),this,SLOT(updateFilePermDirectDL(int)));
|
QObject::connect(ui._filePermDirectDL_CB,SIGNAL(activated(int)),this,SLOT(updateFilePermDirectDL(int)));
|
||||||
|
QObject::connect(ui._trustFriendNodesWithBannedFiles_CB,SIGNAL(toggled(bool)),this,SLOT(toggleTrustFriendNodesWithBannedFiles(bool))) ;
|
||||||
|
|
||||||
QObject::connect(ui.incomingButton, SIGNAL(clicked( bool ) ), this , SLOT( setIncomingDirectory() ) );
|
QObject::connect(ui.incomingButton, SIGNAL(clicked( bool ) ), this , SLOT( setIncomingDirectory() ) );
|
||||||
QObject::connect(ui.autoDLColl_CB, SIGNAL(toggled(bool)), this, SLOT(updateAutoDLColl()));
|
QObject::connect(ui.autoDLColl_CB, SIGNAL(toggled(bool)), this, SLOT(updateAutoDLColl()));
|
||||||
@ -94,7 +95,10 @@ void TransferPage::updateIgnoreLists()
|
|||||||
std::cerr << " suffixes: " ; for(auto it(ls.begin());it!=ls.end();++it) std::cerr << "\"" << *it << "\" " ; std::cerr << std::endl;
|
std::cerr << " suffixes: " ; for(auto it(ls.begin());it!=ls.end();++it) std::cerr << "\"" << *it << "\" " ; std::cerr << std::endl;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
void TransferPage::toggleTrustFriendNodesWithBannedFiles(bool b)
|
||||||
|
{
|
||||||
|
rsFiles->setTrustFriendNodesWithBannedFiles(b);
|
||||||
|
}
|
||||||
void TransferPage::updateMaxTRUpRate(int b)
|
void TransferPage::updateMaxTRUpRate(int b)
|
||||||
{
|
{
|
||||||
rsTurtle->setMaxTRForwardRate(b) ;
|
rsTurtle->setMaxTRForwardRate(b) ;
|
||||||
|
@ -58,7 +58,8 @@ class TransferPage: public ConfigPage
|
|||||||
void updateAutoDLColl();
|
void updateAutoDLColl();
|
||||||
void setPartialsDirectory();
|
void setPartialsDirectory();
|
||||||
void toggleAutoCheckDirectories(bool);
|
void toggleAutoCheckDirectories(bool);
|
||||||
void updateFontSize();
|
void toggleTrustFriendNodesWithBannedFiles(bool);
|
||||||
|
void updateFontSize();
|
||||||
|
|
||||||
void updateAutoCheckDirectories() ;
|
void updateAutoCheckDirectories() ;
|
||||||
void updateAutoScanDirectoriesPeriod() ;
|
void updateAutoScanDirectoriesPeriod() ;
|
||||||
|
@ -547,7 +547,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QCheckBox" name="checkBox">
|
<widget class="QCheckBox" name="_trustFriendNodesWithBannedFiles_CB">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Trust friend nodes with banned files</string>
|
<string>Trust friend nodes with banned files</string>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user