summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-13 21:45:56 +0900
committerMichele Calgaro <[email protected]>2023-07-14 10:21:01 +0900
commit5c50dcac16345515a81f7de5766fa240eaa99d31 (patch)
treef90ca08ef922a837ef270d3654a00a879487ff76 /src
parent14334c54280493270f175de52c28170cf14f50a3 (diff)
downloadtdevelop-5c50dcac16345515a81f7de5766fa240eaa99d31.tar.gz
tdevelop-5c50dcac16345515a81f7de5766fa240eaa99d31.zip
Removed Qt4 specific code and template files
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 60598ea23e9fec7b4320985aad848c5ffee033c2)
Diffstat (limited to 'src')
-rw-r--r--src/partcontroller.cpp9
1 files changed, 1 insertions, 8 deletions
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 );
}