mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 06:03:45 +00:00
[desktop] Change ID from .desktop to .qt
required to publish on Flathub, and .desktop is a file extension anyway so it's a bad idea also some improvements to metadata structure, and add branding colours and fix the welcome message in qt Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
@@ -61,7 +61,7 @@ static location::TLocationSource qStringToTLocationSource(QString const & source
|
||||
QtLocationService::QtLocationService(location::LocationObserver & observer, std::string const & sourceName) : LocationService(observer)
|
||||
{
|
||||
QVariantMap params;
|
||||
params["desktopId"] = "app.organicmaps.desktop";
|
||||
params["desktopId"] = "app.comaps.qt";
|
||||
m_positionSource = QGeoPositionInfoSource::createSource(QString::fromStdString(sourceName), params, this);
|
||||
|
||||
if (!m_positionSource)
|
||||
|
||||
Reference in New Issue
Block a user