reset the internal size copy when the theme changes

Change-Id: I1800076e98bc543ffdea3f4c92d5a08f934f7573
This commit is contained in:
Marco Martin 2015-01-13 10:49:13 +01:00
parent 7476decf29
commit 7d00d30f44

View File

@ -644,6 +644,7 @@ void SvgPrivate::themeChanged()
themePath.clear(); themePath.clear();
eraseRenderer(); eraseRenderer();
setImagePath(currentPath); setImagePath(currentPath);
q->resize();
//qDebug() << themePath << ">>>>>>>>>>>>>>>>>> theme changed"; //qDebug() << themePath << ">>>>>>>>>>>>>>>>>> theme changed";
emit q->repaintNeeded(); emit q->repaintNeeded();