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:
parent
2ef53d3354
commit
56e9f4284f
@ -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));
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user