mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-18 12:54:23 +02:00
Unified path -> name conversion
This commit is contained in:
@ -256,12 +256,6 @@ RMap::RMap(const QString &fileName, QObject *parent)
|
||||
_file.close();
|
||||
}
|
||||
|
||||
QString RMap::name() const
|
||||
{
|
||||
QFileInfo fi(path());
|
||||
return fi.baseName();
|
||||
}
|
||||
|
||||
QRectF RMap::bounds()
|
||||
{
|
||||
return QRectF(QPointF(0, 0), _zooms.at(_zoom).size / _mapRatio);
|
||||
|
Reference in New Issue
Block a user