From 5c50dcac16345515a81f7de5766fa240eaa99d31 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 13 Jul 2023 21:45:56 +0900 Subject: Removed Qt4 specific code and template files Signed-off-by: Michele Calgaro (cherry picked from commit 60598ea23e9fec7b4320985aad848c5ffee033c2) --- src/partcontroller.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src') diff --git a/src/partcontroller.cpp b/src/partcontroller.cpp index 33e50afd..4d375b0e 100644 --- a/src/partcontroller.cpp +++ b/src/partcontroller.cpp @@ -395,14 +395,7 @@ void PartController::editDocumentInternal( const KURL & inputUrl, int lineNum, if ( dom != 0 ) { // The global option specifies a fallback if the project - // has no setting or no project is open. However for TQt4 - // projects we want to use ExternalDesigner in any case. - if ( DomUtil::readIntEntry( *dom, "/kdevcppsupport/qt/version", 3 ) == 4 ) - { - designerPluginPaths = DomUtil::readListEntry(*dom, "/kdevcppsupport/qt/designerpluginpaths", "path" ); - DesignerSetting = "ExternalDesigner"; - } - + // has no setting or no project is open. DesignerSetting = DomUtil::readEntry(*dom, "/kdevcppsupport/qt/designerintegration", DesignerSetting ); designerExec = DomUtil::readEntry(*dom, "/kdevcppsupport/qt/designer", designerExec ); } -- cgit v1.2.1