summaryrefslogtreecommitdiffstats
path: root/languages/perl
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-18 15:51:10 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-18 15:51:10 +0000
commit4dc0617cbcfb47b3301cf9b9a1127fa3b4fea732 (patch)
tree4b49b17308b073f7e94dbd668de9cc72f95e5672 /languages/perl
parentcf21ddc3cce570e574364e841758b59c0f8e8e04 (diff)
downloadtdevelop-4dc0617cbcfb47b3301cf9b9a1127fa3b4fea732.tar.gz
tdevelop-4dc0617cbcfb47b3301cf9b9a1127fa3b4fea732.zip
[kdevelop] fixed gcc-4.5 incompatibilities
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1221512 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/perl')
-rw-r--r--languages/perl/perlparser.cpp2
-rw-r--r--languages/perl/perlsupportpart.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/languages/perl/perlparser.cpp b/languages/perl/perlparser.cpp
index ad0b5de2..60cca8f5 100644
--- a/languages/perl/perlparser.cpp
+++ b/languages/perl/perlparser.cpp
@@ -464,7 +464,7 @@ void perlparser::getPerlINC() {
return;
}
array.setRawData(buffer, n);
- result=TQString::TQString(array);
+ result=TQString(array);
array.resetRawData(buffer, n);
}
pclose(fd);
diff --git a/languages/perl/perlsupportpart.cpp b/languages/perl/perlsupportpart.cpp
index bb9b51c3..d5b0868f 100644
--- a/languages/perl/perlsupportpart.cpp
+++ b/languages/perl/perlsupportpart.cpp
@@ -194,7 +194,7 @@ void PerlSupportPart::startApplication(const TQString &program)
{
bool inTerminal = DomUtil::readBoolEntry(*projectDom(), "/kdevperlsupport/run/terminal");
if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("KDevelop/AppFrontend"))
- appFrontend->startAppCommand(TQString::TQString(), program, inTerminal);
+ appFrontend->startAppCommand(TQString(), program, inTerminal);
}