From a290fc3f1ca505220e285108d57f2cc1cfa10d93 Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Mon, 2 Aug 2010 17:10:50 +0200
Subject: [PATCH] QuickToolBar: also translate ui for BorderImage

---
 .../components/propertyeditor/contextpanewidgetimage.cpp        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/qmldesigner/components/propertyeditor/contextpanewidgetimage.cpp b/src/plugins/qmldesigner/components/propertyeditor/contextpanewidgetimage.cpp
index 94336fe8c2d..0be90c54c79 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/contextpanewidgetimage.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/contextpanewidgetimage.cpp
@@ -412,6 +412,8 @@ void ContextPaneWidgetImage::changeEvent(QEvent *e)
     case QEvent::LanguageChange:
         if (ui)
             ui->retranslateUi(this);
+        if (uiBorderImage)
+            uiBorderImage->retranslateUi(this);
         break;
     default:
         break;
-- 
GitLab