mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fixed ziplayertest, b843f8189 follow up
This commit is contained in:
parent
c1f60e3876
commit
0cdfcd1315
@ -1329,6 +1329,8 @@ QVector<QgsDataItem*> QgsZipItem::createChildren()
|
||||
if ( item )
|
||||
{
|
||||
QgsDebugMsgLevel( "loaded item", 3 );
|
||||
// the item comes with zipped file name, set the name to relative path within zip file
|
||||
item->setName( fileName );
|
||||
children.append( item );
|
||||
break;
|
||||
}
|
||||
|
@ -144,6 +144,7 @@ class CORE_EXPORT QgsDataItem : public QObject
|
||||
QVector<QgsDataItem*> children() const { return mChildren; }
|
||||
virtual QIcon icon();
|
||||
QString name() const { return mName; }
|
||||
void setName( const QString &name ) { mName = name; }
|
||||
QString path() const { return mPath; }
|
||||
void setPath( const QString &path ) { mPath = path; }
|
||||
//! Create path component replacing path separators
|
||||
|
Loading…
x
Reference in New Issue
Block a user