example fixed ( didn't work with clang )
This commit is contained in:
parent
c1e7571e10
commit
d32e682b4e
@ -82,7 +82,8 @@ MainWindow::MainWindow()
|
|||||||
|
|
||||||
for ( auto icon : icons )
|
for ( auto icon : icons )
|
||||||
{
|
{
|
||||||
m_tabView->addTab( icon.replace( ".qvg", "" ),
|
auto title = icon;
|
||||||
|
m_tabView->addTab( title.replace( ".qvg", "" ),
|
||||||
new GraphicLabel( QskGraphicIO::read( resourceDir + "/" + icon ) ) );
|
new GraphicLabel( QskGraphicIO::read( resourceDir + "/" + icon ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user