// first naively check if we are at working copy root
const QString fileName = directory.path() + '/' + plugin->fileName();
if (QFile::exists(fileName)) {
// first naively check if we are at working copy root
const QString fileName = directory.path() + '/' + plugin->fileName();
if (QFile::exists(fileName)) {
- auto wcRoot = plugin->localRepositoryRoot(directory.path());
- if (!wcRoot.isEmpty()) {
- m_localeRepoRoot = wcRoot;
+ auto root = plugin->localRepositoryRoot(directory.path());
+ if (!root.isEmpty()) {
+ m_localRepoRoot = root;