summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-03-10 16:14:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-03-10 16:14:50 +0900
commit1985f7830296db8df810fbd10e3cc9b39eb88efd (patch)
treeeea9fa069c62faaa272a39fed63adbbcf205bc23
parentb9f3985a9244271aac638d5d07c55e98318aab27 (diff)
downloadtdesdk-1985f7830296db8df810fbd10e3cc9b39eb88efd.tar.gz
tdesdk-1985f7830296db8df810fbd10e3cc9b39eb88efd.zip
Remove discontinued PO compendium URL links in kbabel.
This resolves bug 1833.
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp2
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp2
-rw-r--r--kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp2
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
index 10e92cad..abf21ae2 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
@@ -145,7 +145,7 @@ void PoCompendium::readSettings(TDEConfigBase *config)
matchWords = config->readBoolEntry("MatchWords",true);
matchNGram = config->readBoolEntry("MatchNGram",true);
- TQString newPath = config->readEntry("Compendium","http://i18n.kde.org/po_overview/@LANG@.messages");
+ TQString newPath = config->readEntry("Compendium","");
if(!initialized)
{
url = newPath;
diff --git a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
index a33270df..4ecb2886 100644
--- a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
@@ -129,7 +129,7 @@ void CompendiumPreferencesWidget::cancel()
void CompendiumPreferencesWidget::standard()
{
- prefWidget->urlInput->setURL("http://i18n.kde.org/po_overview/@LANG@.messages");
+ prefWidget->urlInput->setURL("");
prefWidget->caseBtn->setChecked(false);
prefWidget->equalBtn->setChecked(true);
prefWidget->ngramBtn->setChecked(true);
diff --git a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
index 163f48e2..9b4cde15 100644
--- a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
@@ -127,7 +127,7 @@ void TmxCompendiumPreferencesWidget::cancel()
void TmxCompendiumPreferencesWidget::standard()
{
- prefWidget->urlInput->setURL("http://i18n.kde.org/po_overview/@LANG@.messages");
+ prefWidget->urlInput->setURL("");
prefWidget->caseBtn->setChecked(false);
prefWidget->equalBtn->setChecked(true);
prefWidget->ngramBtn->setChecked(true);
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
index 1a056c55..7d7450f3 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
@@ -137,7 +137,7 @@ void TmxCompendium::readSettings(TDEConfigBase *config)
matchWords = config->readBoolEntry("MatchWords",true);
matchNGram = config->readBoolEntry("MatchNGram",true);
- TQString newPath = config->readEntry("Compendium","http://i18n.kde.org/po_overview/@LANG@.messages");
+ TQString newPath = config->readEntry("Compendium","");
if(!initialized)
{
url = newPath;