forked from qt-creator/qt-creator
Perforce: Get top level also when env is set
Fixes: QTCREATORBUG-18771 Change-Id: Ic90f6a96ea6d978f7c36b188527b222a7a13f510 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
667e622d5f
commit
1269217be3
@@ -812,7 +812,7 @@ bool PerforcePlugin::managesDirectoryFstat(const QString &directory)
|
||||
return entry.m_isManaged;
|
||||
}
|
||||
if (!m_settings.isValid()) {
|
||||
if (m_settings.topLevel().isEmpty() && m_settings.defaultEnv())
|
||||
if (m_settings.topLevel().isEmpty())
|
||||
getTopLevel(directory, true);
|
||||
|
||||
if (!m_settings.isValid())
|
||||
|
Reference in New Issue
Block a user