summaryrefslogtreecommitdiffstats
path: root/kate/part/katedialogs.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-01-09 00:24:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-09 00:24:34 +0100
commitbf4e405e03859bf383f55715944f4f71bd338c34 (patch)
tree293783d05c079b477b9ef396bbd851ca01714e2d /kate/part/katedialogs.cpp
parentc5189a79b8621b38b53e3cec952d49630e16dd3a (diff)
downloadtdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.tar.gz
tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.zip
Update kate syntax highlight files
Diffstat (limited to 'kate/part/katedialogs.cpp')
-rw-r--r--kate/part/katedialogs.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/kate/part/katedialogs.cpp b/kate/part/katedialogs.cpp
index 1b8ce89eb..d5b5b91db 100644
--- a/kate/part/katedialogs.cpp
+++ b/kate/part/katedialogs.cpp
@@ -108,8 +108,7 @@
#include <tqwhatsthis.h>
#include <tqwidgetstack.h>
-// trailing slash is important
-#define HLDOWNLOADPATH "http://kate.kde.org/syntax/"
+#define HLDOWNLOADPATH "http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/update-files.xml"
//END
@@ -1453,11 +1452,7 @@ KateHlDownloadDialog::KateHlDownloadDialog(TQWidget *parent, const char *name, b
new TQLabel(i18n("<b>Note:</b> New versions are selected automatically."), vbox);
actionButton (User1)->setIconSet(SmallIconSet("ok"));
- transferJob = TDEIO::get(
- KURL(TQString(HLDOWNLOADPATH)
- + TQString("update-")
- + TQString(KATEPART_VERSION)
- + TQString(".xml")), true, true );
+ transferJob = TDEIO::get(KURL(TQString(HLDOWNLOADPATH)), true, true);
connect(transferJob, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
this, TQT_SLOT(listDataReceived(TDEIO::Job *, const TQByteArray &)));
// void data( TDEIO::Job *, const TQByteArray &data);