forked from qt-creator/qt-creator
Some QString -> FileName transformation
Change-Id: I4a8a8f68bb1e52750380218793ec3029b488c01f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
f8dfa03d4f
commit
71b56d2b9c
@@ -68,10 +68,10 @@ bool BazaarControl::managesFile(const QString &workingDirectory, const QString &
|
||||
|
||||
bool BazaarControl::isConfigured() const
|
||||
{
|
||||
const QString binary = m_bazaarClient->settings()->binaryPath();
|
||||
const Utils::FileName binary = m_bazaarClient->settings()->binaryPath();
|
||||
if (binary.isEmpty())
|
||||
return false;
|
||||
QFileInfo fi(binary);
|
||||
QFileInfo fi = binary.toFileInfo();
|
||||
return fi.exists() && fi.isFile() && fi.isExecutable();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user