]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix a regression preventing previews to be resized
authorMéven Car <meven29@gmail.com>
Mon, 15 Jul 2019 14:19:09 +0000 (16:19 +0200)
committerMéven Car <meven29@gmail.com>
Mon, 15 Jul 2019 16:40:24 +0000 (18:40 +0200)
Summary: e6c1b97d67f6b6c6d4ad935db14241b041b3fca4 introduced a regression preventing previews to be properly resized.

Test Plan: Manual : resizing the information panel and the window

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D22473

src/panels/information/informationpanelcontent.cpp

index 444261eff05a476f199675aa8ba2512933b81406..363ad818d3dcbc1c027cfa7d935987d41427757e 100644 (file)
@@ -161,9 +161,9 @@ void InformationPanelContent::showItem(const KFileItem& item)
     if (item != m_item) {
         m_item = item;
 
-        refreshPreview();
         refreshMetaData();
     }
+    refreshPreview();
 }
 
 void InformationPanelContent::refreshPreview()