example fixed ( didn't work with clang )

This commit is contained in:
Uwe Rathmann 2017-12-07 09:03:29 +01:00
parent c1e7571e10
commit d32e682b4e

View File

@ -82,7 +82,8 @@ MainWindow::MainWindow()
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 ) ) );
}