diff options
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/QtInstanceImage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qt5/QtInstanceImage.cxx b/vcl/qt5/QtInstanceImage.cxx index ce63b3b03e50..7b39fb04c18a 100644 --- a/vcl/qt5/QtInstanceImage.cxx +++ b/vcl/qt5/QtInstanceImage.cxx @@ -18,9 +18,9 @@ QtInstanceImage::QtInstanceImage(QLabel* pLabel) assert(m_pLabel); } -void QtInstanceImage::set_from_icon_name(const OUString&) +void QtInstanceImage::set_from_icon_name(const OUString& rIconName) { - assert(false && "Not implemented yet"); + m_pLabel->setPixmap(loadQPixmapIcon(rIconName)); } void QtInstanceImage::set_image(VirtualDevice*) { assert(false && "Not implemented yet"); } |