Support for 1.8 pixel ratio for OnePlus X adaptation #23

This commit is contained in:
Muki 2017-04-30 19:28:22 +02:00
parent bedbf89be9
commit f8d6638b3d
4 changed files with 14 additions and 5 deletions

View file

@ -8,6 +8,15 @@
# * date Author's Name <author's email> version-release
# - Summary of changes
* Sun Apr 30 2017 Michal Kosciesza 2.6.1-1
- 1.8 pixel ratio support (for OnePlus X)
* Tue Apr 18 2017 Michal Kosciesza 2.6.0-6
- RU translations update
* Fri Apr 14 2017 Michal Kosciesza 2.6.0-4
- RU and CS translations update
* Mon Apr 03 2017 Michal Kosciesza 2.6.0-3
- IT, NL, PL and RU translations update

View file

@ -1,7 +1,7 @@
Name: harbour-kaktus
Summary: Kaktus
Version: 2.6.0
Release: 3
Version: 2.6.1
Release: 1
# The contents of the Group field should be one of the groups listed here:
# http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS
Group: Qt/Qt

View file

@ -24,7 +24,7 @@ IconProvider::IconProvider() : QQuickImageProvider(QQuickImageProvider::Pixmap)
themeDir = SailfishApp::pathTo("images/z1.25").toString(QUrl::RemoveScheme);
} else if (ratio == 1.5) {
themeDir = SailfishApp::pathTo("images/z1.5").toString(QUrl::RemoveScheme);
} else if (ratio == 1.75) {
} else if (ratio == 1.75 || ratio == 1.8) {
themeDir = SailfishApp::pathTo("images/z1.75").toString(QUrl::RemoveScheme);
} else if (ratio == 2.0) {
themeDir = SailfishApp::pathTo("images/z2.0").toString(QUrl::RemoveScheme);

View file

@ -50,9 +50,9 @@ static const char *APP_NAME = "Kaktus";
static const char *AUTHOR = "Michal Kosciesza <michal@mkiol.net>";
static const char *PAGE = "https://github.com/mkiol/kaktus";
#ifdef KAKTUS_LIGHT
static const char *VERSION = "2.6.0 (light edition)";
static const char *VERSION = "2.6.1 (light edition)";
#else
static const char *VERSION = "2.6.0";
static const char *VERSION = "2.6.1";
#endif