baseUrl esposto a QML come Q_INVOKABLE: fix TypeError su MainPage/SearchPage/BookDetailPage

This commit is contained in:
2026-08-12 11:05:06 +02:00
parent 5f97cb45bf
commit 0c6c28aa4e
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ public:
// Header "Authorization: Basic ..." pronto da usare, vuoto se utente non impostato
QString authHeader() const;
// URL del server senza slash finale
QString baseUrl() const;
// URL del server senza slash finale (usabile da QML come appSettings.baseUrl())
Q_INVOKABLE QString baseUrl() const;
signals:
void serverUrlChanged();