From 3a29d8570c7be04495a8da7afef5faf6953a59a6 Mon Sep 17 00:00:00 2001 From: sebastian matkovich <sebastian.matkovich@gmail.com> Date: Fri, 23 Dec 2022 00:06:47 +0100 Subject: [PATCH] reenabled binary connection to oebb backend in order to get delays again --- src/parser/parser_xmloebbat.cpp | 3 ++- src/parser/parser_xmloebbat.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/parser/parser_xmloebbat.cpp b/src/parser/parser_xmloebbat.cpp index c18346b..86b32ad 100644 --- a/src/parser/parser_xmloebbat.cpp +++ b/src/parser/parser_xmloebbat.cpp @@ -20,12 +20,13 @@ #include "parser_xmloebbat.h" ParserXmlOebbAt::ParserXmlOebbAt(QObject *parent) - : ParserHafasXml(parent) + : ParserHafasBinary(parent) { baseXmlUrl = "https://fahrplan.oebb.at/bin/query.exe"; baseSTTableUrl = "https://fahrplan.oebb.at/bin/stboard.exe/en"; baseUrl = "https://fahrplan.oebb.at/bin/query.exe"; + baseBinaryUrl = "https://fahrplan.oebb.at/bin/query.exe/en"; STTableMode = 1; } diff --git a/src/parser/parser_xmloebbat.h b/src/parser/parser_xmloebbat.h index 12a62e1..96ff8ef 100644 --- a/src/parser/parser_xmloebbat.h +++ b/src/parser/parser_xmloebbat.h @@ -21,8 +21,8 @@ #define PARSER_XMLOEBBAT_H #include "parser_hafasbinary.h" -//class ParserXmlOebbAt: public ParserHafasBinary -class ParserXmlOebbAt: public ParserHafasXml +class ParserXmlOebbAt: public ParserHafasBinary +//class ParserXmlOebbAt: public ParserHafasXml { Q_OBJECT