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:
defnax 2010-04-10 10:58:55 +00:00
parent 9f8a032d93
commit 063a366d12

View File

@ -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));
}
}