Version bump to v4.2.1-1
This commit is contained in:
parent
c1313dc014
commit
49d41ba16c
5 changed files with 7 additions and 4 deletions
|
@ -15,7 +15,7 @@ TARGET = harbour-batterybuddy
|
||||||
CONFIG += console sailfishapp sailfishapp_i18n dbus
|
CONFIG += console sailfishapp sailfishapp_i18n dbus
|
||||||
|
|
||||||
# Keep this in sync with service.pro and .spec
|
# 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_VERSION=\"\\\"$$VERSION\\\"\"
|
||||||
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
||||||
|
|
|
@ -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
|
* Sat Dec 31 2022 Matti Viljanen (direc85) <matti.viljanen@kapsi.fi> 4.2.0-1
|
||||||
- Add setting maximum charge current
|
- Add setting maximum charge current
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ Name: harbour-batterybuddy
|
||||||
# Change the version and release strings in .pro file only!
|
# Change the version and release strings in .pro file only!
|
||||||
|
|
||||||
Summary: Battery Buddy
|
Summary: Battery Buddy
|
||||||
Version: 4.2.0
|
Version: 4.2.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
|
|
|
@ -5,7 +5,7 @@ QT = core dbus
|
||||||
PKGCONFIG += nemonotifications-qt5
|
PKGCONFIG += nemonotifications-qt5
|
||||||
|
|
||||||
# Keep this in sync with application.pro and .spec
|
# 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_VERSION=\"\\\"$$VERSION\\\"\"
|
||||||
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
||||||
|
|
|
@ -486,7 +486,7 @@ bool Battery::setChargingEnabled(const bool isEnabled) {
|
||||||
|
|
||||||
void Battery::setMaxChargeCurrent(int newCurrent) {
|
void Battery::setMaxChargeCurrent(int newCurrent) {
|
||||||
if(maxChargeCurrentFile) {
|
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) {
|
if(newCurrent > maxSupportedChargeCurrent) {
|
||||||
newCurrent = maxSupportedChargeCurrent;
|
newCurrent = maxSupportedChargeCurrent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue