mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Do not load icons from the current directory when no symbols dir is set
This commit is contained in:
parent
c062a62014
commit
40616fb868
@ -27,6 +27,9 @@ QPair<qreal, qreal> Waypoint::elevations() const
|
||||
|
||||
void Waypoint::loadSymbolIcons(const QString &dir)
|
||||
{
|
||||
if (dir.isEmpty())
|
||||
return;
|
||||
|
||||
QDir d(dir);
|
||||
QFileInfoList files(d.entryInfoList(QDir::Files | QDir::Readable));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user