summaryrefslogtreecommitdiffstats
path: root/buildtools/ada/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/ada/service.cpp')
-rw-r--r--buildtools/ada/service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/ada/service.cpp b/buildtools/ada/service.cpp
index 710b8f9c..9d113ce3 100644
--- a/buildtools/ada/service.cpp
+++ b/buildtools/ada/service.cpp
@@ -64,10 +64,10 @@ int ServiceComboBox::itemForText(const TQString &str, const TQStringList &names)
TQString ServiceComboBox::defaultCompiler()
{
- KTrader::OfferList offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Ada'");
+ KTrader::OfferList offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Ada'");
TQValueList<KService::Ptr>::ConstIterator it;
for (it = offers.begin(); it != offers.end(); ++it) {
- if ((*it)->property("X-KDevelop-Default").toBool()) {
+ if ((*it)->property("X-TDevelop-Default").toBool()) {
return (*it)->name();;
}
}