From 64513275b3f541d359c38af29139d4edfb698127 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 10 Mar 2015 14:58:53 +0100 Subject: Fix lupdate for .ui.qml files The context has to be the complete base name including ".ui". Task-number: QTBUG-44905 Change-Id: If2b148d4ecc790182a7bcc56dd17a33c4ee16617 Reviewed-by: Simon Hausmann Reviewed-by: Oswald Buddenhagen --- src/linguist/lupdate/qdeclarative.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linguist/lupdate/qdeclarative.cpp b/src/linguist/lupdate/qdeclarative.cpp index bbca7a002..14f7e0d19 100644 --- a/src/linguist/lupdate/qdeclarative.cpp +++ b/src/linguist/lupdate/qdeclarative.cpp @@ -79,7 +79,7 @@ public: m_todo = engine->comments(); m_translator = translator; m_fileName = fileName; - m_component = QFileInfo(fileName).baseName(); + m_component = QFileInfo(fileName).completeBaseName(); accept(node); // process the trailing comments -- cgit v1.2.3