mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Partial fix for ticket #146:
- set default of the signature checkbox in ConnectFriendWizard to disabled - set the initial option for the download directory to network wide only - set the default of a new shared directory to network wide git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4578 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
44806b7581
commit
35a059c44c
@ -717,7 +717,7 @@ bool ftServer::shareDownloadDirectory(bool share)
|
||||
/* Share */
|
||||
SharedDirInfo inf ;
|
||||
inf.filename = mFtController->getDownloadDirectory();
|
||||
inf.shareflags = RS_FILE_HINTS_NETWORK_WIDE | RS_FILE_HINTS_BROWSABLE ;
|
||||
inf.shareflags = RS_FILE_HINTS_NETWORK_WIDE ;
|
||||
|
||||
return addSharedDirectory(inf);
|
||||
}
|
||||
|
@ -40,7 +40,9 @@ ShareDialog::ShareDialog(std::string filename, QWidget *parent, Qt::WFlags flags
|
||||
|
||||
ui.okButton->setEnabled(false);
|
||||
|
||||
if (filename.empty() == false) {
|
||||
if (filename.empty()) {
|
||||
ui.networkwideCheckBox->setChecked(true);
|
||||
} else {
|
||||
/* edit exisiting share */
|
||||
std::list<SharedDirInfo> dirs;
|
||||
rsFiles->getSharedDirectories(dirs);
|
||||
|
@ -1051,7 +1051,7 @@ void ConclusionPage::initializePage() {
|
||||
//set the radio button to sign the GPG key
|
||||
if (detail.accept_connection && !detail.ownsign) {
|
||||
//gpg key connection is already accepted, don't propose to accept it again
|
||||
signGPGCheckBox->setChecked(true);
|
||||
signGPGCheckBox->setChecked(false);
|
||||
acceptNoSignGPGCheckBox->hide();
|
||||
acceptNoSignGPGCheckBox->setChecked(false);
|
||||
}
|
||||
@ -1064,7 +1064,7 @@ void ConclusionPage::initializePage() {
|
||||
if (!detail.accept_connection && !detail.ownsign) {
|
||||
acceptNoSignGPGCheckBox->setChecked(true);
|
||||
signGPGCheckBox->show();
|
||||
signGPGCheckBox->setChecked(true);
|
||||
signGPGCheckBox->setChecked(false);
|
||||
acceptNoSignGPGCheckBox->show();
|
||||
}
|
||||
if (detail.accept_connection && detail.ownsign) {
|
||||
|
Loading…
Reference in New Issue
Block a user