diff -r 50ed968e4fee -r b74a7bbe224e qmlFrontend/themeiconprovider.cpp --- a/qmlFrontend/themeiconprovider.cpp Thu Oct 02 00:48:14 2014 +0400 +++ b/qmlFrontend/themeiconprovider.cpp Mon Oct 13 23:46:49 2014 +0400 @@ -25,7 +25,8 @@ QByteArray buf; buf.resize(65536); - uint32_t fileSize = getThemeIcon(id.toUtf8().data(), buf.data(), buf.size()); + char * bufptr = buf.data(); + uint32_t fileSize = getThemeIcon(id.toUtf8().data(), bufptr, buf.size()); buf.truncate(fileSize); qDebug() << "ThemeIconProvider file size = " << fileSize;