summaryrefslogtreecommitdiffstats
path: root/src/partcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/partcontroller.cpp')
-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 );
}