branch | qmlfrontend |
changeset 10440 | b74a7bbe224e |
parent 10436 | 084e046f6bd5 |
child 11437 | 97e3e62ea5f9 |
--- 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;