mirror of
https://github.com/spalencsar/bearwave.git
synced 2026-07-06 14:24:14 +02:00
fix: About version label QML arg() chaining (1.0.5 pkgrel 5)
QML string arg() accepts one placeholder at a time; passing two arguments at once caused "String.arg(): Invalid arguments" on AboutDialog load.
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Sebastian Palencsar <moin@nerdbear.de>
|
# Maintainer: Sebastian Palencsar <moin@nerdbear.de>
|
||||||
pkgname=bearwave-git
|
pkgname=bearwave-git
|
||||||
pkgver=1.0.5
|
pkgver=1.0.5
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc="KDE-focused desktop internet radio app"
|
pkgdesc="KDE-focused desktop internet radio app"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/spalencsar/bearwave"
|
url="https://github.com/spalencsar/bearwave"
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ ApplicationWindow {
|
|||||||
|
|
||||||
property var currentPage: "top"
|
property var currentPage: "top"
|
||||||
property var backend: (typeof radioBackend !== "undefined" ? radioBackend : null)
|
property var backend: (typeof radioBackend !== "undefined" ? radioBackend : null)
|
||||||
readonly property string appVersion: (typeof bearwaveVersion !== "undefined" ? bearwaveVersion : Qt.application.version)
|
readonly property string appVersion: (typeof bearwaveVersion !== "undefined" ? ("" + bearwaveVersion) : Qt.application.version)
|
||||||
readonly property string appBuildId: (typeof bearwaveBuildId !== "undefined" ? bearwaveBuildId : "?")
|
readonly property string appBuildId: (typeof bearwaveBuildId !== "undefined" ? ("" + bearwaveBuildId) : "?")
|
||||||
property bool compactMode: width < 780
|
property bool compactMode: width < 780
|
||||||
property real contentOpacity: 1.0
|
property real contentOpacity: 1.0
|
||||||
property string activeQuickFilter: ""
|
property string activeQuickFilter: ""
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ Dialog {
|
|||||||
|
|
||||||
Label {
|
Label {
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
text: qsTr("Version %1 · build %2").arg(String(root.appVersion), String(root.buildId))
|
text: qsTr("Version %1 · build %2").arg(root.appVersion).arg(root.buildId)
|
||||||
color: BearTheme.textMuted
|
color: BearTheme.textMuted
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user