mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[FSD] Superfluous parentheses
This commit is contained in:
@@ -47,28 +47,28 @@ namespace BlackCore
|
||||
m_mappingMinimumVersion = CBuildConfig::getVersionString();
|
||||
m_dbRootDirectoryUrl = CUrl("https://datastore.swift-project.org/");
|
||||
m_vatsimBookingsUrl = CUrl("http://vatbook.euroutepro.com/xml2.php");
|
||||
m_vatsimMetarsUrls = CUrlList({"http://metar.vatsim.net/metar.php"});
|
||||
m_vatsimStatusFileUrls = CUrlList({ "https://status.vatsim.net" });
|
||||
m_vatsimDataFileUrls = CUrlList({ "http://info.vroute.net/vatsim-data.txt" });
|
||||
m_sharedUrls = CUrlList(
|
||||
m_vatsimMetarsUrls = CUrlList{"http://metar.vatsim.net/metar.php"};
|
||||
m_vatsimStatusFileUrls = CUrlList{ "https://status.vatsim.net" };
|
||||
m_vatsimDataFileUrls = CUrlList{ "http://info.vroute.net/vatsim-data.txt" };
|
||||
m_sharedUrls = CUrlList
|
||||
{
|
||||
"https://datastore.swift-project.net/shared/",
|
||||
"http://www.siliconmind.de/datastore/shared/",
|
||||
"http://download.swift-project.org/shared/",
|
||||
"https://swift.fir-berlin.de/shared"
|
||||
});
|
||||
};
|
||||
|
||||
m_newsUrls = CUrlList(
|
||||
m_newsUrls = CUrlList
|
||||
{
|
||||
"https://blog.swift-project.net/?__print__=1",
|
||||
"https://dev.swift-project.org/phame/blog/view/1/?__print__=1"
|
||||
});
|
||||
m_onlineHelpUrls = CUrlList(
|
||||
};
|
||||
m_onlineHelpUrls = CUrlList
|
||||
{
|
||||
"https://datastore.swift-project.org/page/swifthelpdispatcher.html",
|
||||
"https://datastore.swift-project.net/page/swifthelpdispatcher.html"
|
||||
});
|
||||
m_mapUrls = CUrlList({ "map.swift-project.org/" });
|
||||
};
|
||||
m_mapUrls = CUrlList{ "map.swift-project.org/" };
|
||||
m_ncepGlobalForecastSystemUrl = CUrl("http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p50.pl");
|
||||
m_ncepGlobalForecastSystemUrl25 = CUrl("http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25.pl");
|
||||
|
||||
|
||||
@@ -26,6 +26,10 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
CUrl::CUrl(const char *url) :
|
||||
CUrl(QString(url))
|
||||
{ }
|
||||
|
||||
CUrl::CUrl(const QUrl &url)
|
||||
{
|
||||
this->setQUrl(url);
|
||||
|
||||
@@ -45,6 +45,9 @@ namespace BlackMisc
|
||||
//! Default constructor.
|
||||
CUrl(const QString &fullUrl = QString());
|
||||
|
||||
//! Construct from character array.
|
||||
CUrl(const char *url);
|
||||
|
||||
//! By QUrl.
|
||||
CUrl(const QUrl &url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user