mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
removed double definition
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9f8a032d93
commit
063a366d12
@ -65,11 +65,10 @@ void ShareDialog::browseDirectory()
|
||||
QString qdir = QFileDialog::getExistingDirectory(this, tr("Select A Folder To Share"), "", QFileDialog::DontUseNativeDialog | QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
|
||||
|
||||
/* add it to the server */
|
||||
std::string dir = qdir.toStdString();
|
||||
currentDir = qdir.toStdString();
|
||||
if (dir != "")
|
||||
if (currentDir != "")
|
||||
{
|
||||
ui.localpath_lineEdit->setText(QString::fromStdString(dir));
|
||||
ui.localpath_lineEdit->setText(QString::fromStdString(currentDir));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user