Skip to content

Commit

Permalink
Compile fix for Qt5.11 / GCC 8.3.0 on Raspbian Buster (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemba authored Apr 19, 2024
1 parent edee0fa commit 4e3b9a3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION="3.11.0"
VERSION="3.11.1"
27 changes: 18 additions & 9 deletions src/abstractscraper.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,24 @@ class AbstractScraper : public QObject {
const inline QList<QPair<QString, QString>> regionMap() {
// use list of pairs to maintain order
return QList<QPair<QString, QString>>{
QPair("europe|(e)", "eu"), QPair("usa|(u)", "us"),
QPair("world", "wor"), QPair("japan|(j)", "jp"),
QPair("brazil", "br"), QPair("korea", "kr"),
QPair("taiwan", "tw"), QPair("france", "fr"),
QPair("germany", "de"), QPair("italy", "it"),
QPair("spain", "sp"), QPair("china", "cn"),
QPair("australia", "au"), QPair("sweden", "se"),
QPair("canada", "ca"), QPair("netherlands", "nl"),
QPair("denmark", "dk"), QPair("asia", "asi")};
QPair<QString, QString>("europe|(e)", "eu"),
QPair<QString, QString>("usa|(u)", "us"),
QPair<QString, QString>("world", "wor"),
QPair<QString, QString>("japan|(j)", "jp"),
QPair<QString, QString>("brazil", "br"),
QPair<QString, QString>("korea", "kr"),
QPair<QString, QString>("taiwan", "tw"),
QPair<QString, QString>("france", "fr"),
QPair<QString, QString>("germany", "de"),
QPair<QString, QString>("italy", "it"),
QPair<QString, QString>("spain", "sp"),
QPair<QString, QString>("china", "cn"),
QPair<QString, QString>("australia", "au"),
QPair<QString, QString>("sweden", "se"),
QPair<QString, QString>("canada", "ca"),
QPair<QString, QString>("netherlands", "nl"),
QPair<QString, QString>("denmark", "dk"),
QPair<QString, QString>("asia", "asi")};
}
};

Expand Down

0 comments on commit 4e3b9a3

Please sign in to comment.