Skip to content
Snippets Groups Projects
Commit 7a4ef123 authored by con's avatar con
Browse files

Fixes: - tools->git->show commit dialog broken

Task:     - 237689
Details:  - .git is a hidden file, so we need the QDir::Hidden flag as well
parent e665fc82
No related merge requests found
......@@ -59,7 +59,7 @@ void ChangeSelectionDialog::selectWorkingDirectory()
// the head directory of the repository.
QDir repository(location);
do {
if (repository.entryList(QDir::AllDirs).contains(QLatin1String(".git"))) {
if (repository.entryList(QDir::AllDirs|QDir::Hidden).contains(QLatin1String(".git"))) {
m_ui.repositoryEdit->setText(repository.absolutePath());
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment