Version bump to v4.2.1-1

This commit is contained in:
Matti Viljanen 2023-01-01 01:11:03 +02:00
parent c1313dc014
commit 49d41ba16c
No known key found for this signature in database
GPG key ID: CF32A1495158F888
5 changed files with 7 additions and 4 deletions

View file

@ -15,7 +15,7 @@ TARGET = harbour-batterybuddy
CONFIG += console sailfishapp sailfishapp_i18n dbus
# Keep this in sync with service.pro and .spec
VERSION = 4.2.0-1
VERSION = 4.2.1-1
DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"

View file

@ -1,3 +1,6 @@
* Sun Jan 1 2023 Matti Viljanen (direc85) <matti.viljanen@kapsi.fi> 4.2.1-1
- Properly read and set values on first startup
* Sat Dec 31 2022 Matti Viljanen (direc85) <matti.viljanen@kapsi.fi> 4.2.0-1
- Add setting maximum charge current

View file

@ -11,7 +11,7 @@ Name: harbour-batterybuddy
# Change the version and release strings in .pro file only!
Summary: Battery Buddy
Version: 4.2.0
Version: 4.2.1
Release: 1
Group: Qt/Qt
License: GPLv3

View file

@ -5,7 +5,7 @@ QT = core dbus
PKGCONFIG += nemonotifications-qt5
# Keep this in sync with application.pro and .spec
VERSION = 4.2.0-1
VERSION = 4.2.1-1
DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"

View file

@ -486,7 +486,7 @@ bool Battery::setChargingEnabled(const bool isEnabled) {
void Battery::setMaxChargeCurrent(int newCurrent) {
if(maxChargeCurrentFile) {
logM(QString("Setting max charging current to %1...").arg(newCurrent / 1000));
logM(QString("Max charging current: %1mA").arg(newCurrent / 1000));
if(newCurrent > maxSupportedChargeCurrent) {
newCurrent = maxSupportedChargeCurrent;
}