Commit 9c3604ba authored by Christian Stenger's avatar Christian Stenger Committed by Tobias Hunger
Browse files

ClangCodeModel: Fix build

Error was introduced with dc61b989

.

Change-Id: I17217b6fc5f518104fb9f90f9a5fdbea6ef2f49d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 622d42d4
......@@ -150,7 +150,7 @@ void ClangProjectSettingsWidget::customPchButtonClicked()
d.setNameFilters(QStringList() << tr("Header Files (*.h)")
<< tr("All Files (*)"));
d.setFileMode(QFileDialog::ExistingFile);
d.setDirectory(m_project->projectDirectory());
d.setDirectory(m_project->projectDirectory().toString());
if (!d.exec())
return;
const QStringList fileNames = d.selectedFiles();
......
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