fix: expose dialog aliases so About and Manual+ open (1.0.8)

HeaderNavigation and StationCard access dialogs via app.aboutDialog etc.,
but Main.qml never exported those ids as property aliases after the QML
module refactor. Align AboutDialog anchoring with the other dialogs.
This commit is contained in:
Sebastian Palencsar
2026-06-22 16:55:17 +02:00
parent 5eef320b5a
commit 2de7706ec0
5 changed files with 15 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
project(bearwave VERSION 1.0.7 LANGUAGES CXX) project(bearwave VERSION 1.0.8 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)

View File

@@ -1,6 +1,6 @@
{ {
"app-id": "de.nerdbear.bearwave", "app-id": "de.nerdbear.bearwave",
"version": "1.0.7", "version": "1.0.8",
"runtime": "org.kde.Platform", "runtime": "org.kde.Platform",
"runtime-version": "6.10", "runtime-version": "6.10",
"sdk": "org.kde.Sdk", "sdk": "org.kde.Sdk",

View File

@@ -59,6 +59,13 @@
</provides> </provides>
<releases> <releases>
<release version="1.0.8" date="2026-06-22">
<description>
<ul>
<li>Fixed About, Add station, and Edit station dialogs not opening after QML refactor</li>
</ul>
</description>
</release>
<release version="1.0.7" date="2026-06-22"> <release version="1.0.7" date="2026-06-22">
<description> <description>
<ul> <ul>

View File

@@ -34,6 +34,9 @@ ApplicationWindow {
property string countrySearchText: "" property string countrySearchText: ""
property alias searchField: searchToolbar.searchField property alias searchField: searchToolbar.searchField
property alias stationList: stationPanel.stationList property alias stationList: stationPanel.stationList
property alias addDialog: addDialog
property alias editDialog: editDialog
property alias aboutDialog: aboutDialog
function toast(message) { function toast(message) {
toastPopup.show(message) toastPopup.show(message)

View File

@@ -11,11 +11,11 @@ Dialog {
id: root id: root
required property bool compactMode required property bool compactMode
required property string appVersion property string appVersion: Qt.application.version
required property string buildId property string buildId: "?"
modal: true modal: true
anchors.centerIn: Overlay.overlay anchors.centerIn: parent
width: compactMode ? 360 : 520 width: compactMode ? 360 : 520
height: compactMode ? 560 : 680 height: compactMode ? 560 : 680
standardButtons: Dialog.Ok standardButtons: Dialog.Ok