forked from qt-creator/qt-creator
All: Use the shorter access to aspect values in a few places
Change-Id: Ie0ff0e4e1cf4c2750897ea733dfccb743f44fa93 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -277,7 +277,7 @@ void SubversionClient::log(const FilePath &workingDir,
|
||||
const std::function<void(Utils::CommandLine &)> &addAuthOptions)
|
||||
{
|
||||
auto &settings = static_cast<SubversionSettings &>(this->settings());
|
||||
const int logCount = settings.logCount.value();
|
||||
const int logCount = settings.logCount();
|
||||
QStringList svnExtraOptions = extraOptions;
|
||||
if (logCount > 0)
|
||||
svnExtraOptions << QLatin1String("-l") << QString::number(logCount);
|
||||
|
||||
Reference in New Issue
Block a user