Commit 63187490 authored by Alessandro Portale's avatar Alessandro Portale Committed by Eike Ziller
Browse files

Get native dir separators from "Find in Files" path chooser.



Alien dir separatoris look so... alien. (At least on Windows).

Change-Id: Ia755e821c81bbdf8d5a6162903983dfbcc9720f8
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 32d139f8
......@@ -146,7 +146,7 @@ void FindInFiles::openFileBrowser()
QString dir = QFileDialog::getExistingDirectory(m_configWidget,
tr("Directory to search"), oldDir);
if (!dir.isEmpty())
m_directory->setEditText(dir);
m_directory->setEditText(QDir::toNativeSeparators(dir));
}
void FindInFiles::writeSettings(QSettings *settings)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment