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
......@@ -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"))) {
Supports Markdown
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