1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-02-03 09:44:01 -05:00

Use older version of QtGraphicalEffects to support older versions of Qt. Don't warn for non-existent .xml files

This commit is contained in:
Jon Beniston 2021-11-12 17:19:03 +00:00
parent 2ef53d3354
commit 56e9f4284f
3 changed files with 5 additions and 4 deletions

View File

@ -2436,7 +2436,6 @@ void ADSBDemodGUI::applyMapSettings()
object = item->findChild<QObject*>("map"); object = item->findChild<QObject*>("map");
if ((object != nullptr) && coords.isValid()) if ((object != nullptr) && coords.isValid())
{ {
qDebug() << "Restoring map " << coords.toString() << zoom;
object->setProperty("zoomLevel", QVariant::fromValue(zoom)); object->setProperty("zoomLevel", QVariant::fromValue(zoom));
object->setProperty("center", QVariant::fromValue(coords)); object->setProperty("center", QVariant::fromValue(coords));
} }

View File

@ -2,7 +2,7 @@ import QtQuick 2.12
import QtQuick.Window 2.12 import QtQuick.Window 2.12
import QtLocation 5.12 import QtLocation 5.12
import QtPositioning 5.12 import QtPositioning 5.12
import QtGraphicalEffects 1.15 import QtGraphicalEffects 1.12
Item { Item {
id: qmlMap id: qmlMap

View File

@ -228,7 +228,8 @@ struct SDRBASE_API Airspace {
} }
else else
{ {
qDebug() << "Airspace::readXML: Could not open " << filename << " for reading."; // Don't warn, as many countries don't have files
//qDebug() << "Airspace::readXML: Could not open " << filename << " for reading.";
} }
return airspaces; return airspaces;
} }
@ -378,7 +379,8 @@ struct SDRBASE_API NavAid {
} }
else else
{ {
qDebug() << "NavAid::readNavAidsXML: Could not open " << filename << " for reading."; // Don't warn, as many countries don't have files
//qDebug() << "NavAid::readNavAidsXML: Could not open " << filename << " for reading.";
} }
return navAidInfo; return navAidInfo;
} }