refs #935, globalsetup.cpp(369): warning C4503

This commit is contained in:
Klaus Basan
2017-04-14 02:19:42 +02:00
committed by Mathew Sutcliffe
parent f69c1e7c3f
commit 6c76e0fea6

View File

@@ -188,7 +188,8 @@ namespace BlackCore
QString CGlobalSetup::convertToQString(const QString &separator, bool i18n) const QString CGlobalSetup::convertToQString(const QString &separator, bool i18n) const
{ {
return "timestamp: " QString s =
"timestamp: "
% this->getFormattedUtcTimestampYmdhms() % this->getFormattedUtcTimestampYmdhms()
% separator % separator
% "Global setup loaded: " % "Global setup loaded: "
@@ -213,9 +214,9 @@ namespace BlackCore
% separator % separator
% "swift map URLs: " % "swift map URLs: "
% getSwiftMapUrls().toQString(i18n) % getSwiftMapUrls().toQString(i18n)
% separator % separator;
s +=
% "DB root directory: " "DB root directory: "
% getDbRootDirectoryUrl().toQString(i18n) % getDbRootDirectoryUrl().toQString(i18n)
% separator % separator
% "ICAO DB reader: " % "ICAO DB reader: "
@@ -235,9 +236,10 @@ namespace BlackCore
% separator % separator
% "swift DB datafile locations: " % "swift DB datafile locations: "
% getSwiftDbDataFileLocationUrls().toQString(i18n) % getSwiftDbDataFileLocationUrls().toQString(i18n)
% separator % separator;
% "VATSIM bookings: " s +=
"VATSIM bookings: "
% getVatsimBookingsUrl().toQString(i18n) % getVatsimBookingsUrl().toQString(i18n)
% separator % separator
% "VATSIM METARs: " % "VATSIM METARs: "
@@ -253,6 +255,8 @@ namespace BlackCore
% "Crash report server: " % "Crash report server: "
% getCrashReportServerUrl().toQString(i18n); % getCrashReportServerUrl().toQString(i18n);
return s;
} }
CVariant CGlobalSetup::propertyByIndex(const BlackMisc::CPropertyIndex &index) const CVariant CGlobalSetup::propertyByIndex(const BlackMisc::CPropertyIndex &index) const