mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-17 12:24:24 +02:00
Improved error reporting
This commit is contained in:
@ -365,7 +365,9 @@ void RMap::load(const Projection &in, const Projection &out, qreal deviceRatio,
|
||||
Q_UNUSED(out);
|
||||
|
||||
_mapRatio = hidpi ? deviceRatio : 1.0;
|
||||
_file.open(QIODevice::ReadOnly);
|
||||
if (!_file.open(QIODevice::ReadOnly))
|
||||
qWarning("%s: %s", qPrintable(_file.fileName()),
|
||||
qPrintable(_file.errorString()));
|
||||
}
|
||||
|
||||
void RMap::unload()
|
||||
|
Reference in New Issue
Block a user