mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix vc build
This commit is contained in:
parent
8fcd58749d
commit
1aae72c4aa
@ -18,7 +18,7 @@ QgsBrowserModel::QgsBrowserModel( QObject *parent ) :
|
||||
// give the home directory a prominent first place
|
||||
QgsDirectoryItem *item = new QgsDirectoryItem( NULL, tr( "Home" ), QDir::homePath() );
|
||||
QStyle *style = QApplication::style();
|
||||
QIcon homeIcon( style->standardPixmap( QStyle::QStyle::SP_DirHomeIcon ) );
|
||||
QIcon homeIcon( style->standardPixmap( QStyle::SP_DirHomeIcon ) );
|
||||
item->setIcon( homeIcon );
|
||||
connectItem( item );
|
||||
mRootItems << item;
|
||||
|
Loading…
x
Reference in New Issue
Block a user