Fix dolphin warning on launch "QPixmap::scaled: Pixmap is a null pixmap"
Review Request #119553 - Created July 31, 2014 and submitted
If dolphin is launched with the information pane on and set to display preview PixmapViewer::paintEvents seems called three times before any pixmap is set. Each time the above warning message is output.
This does not happen if the preview feature is off when dolphin starts or if it is toggled after launch.
Verfied that warings are gone and a information pane works as epected.
Thanks Michael and Kai for the patch and the comments! Looks good from my point of view.
Note that there will not be any more 4.13.x releases, so KDE/4.14 is the branch you want to commit this to.