mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
WIP: HttpLoader seems to work, Model still borked
This commit is contained in:
parent
e421adf733
commit
729e343661
1412 changed files with 13967 additions and 33794 deletions
|
@ -37,7 +37,7 @@ ApplicationWindow {
|
|||
|
||||
Connections {
|
||||
target: ApiClient
|
||||
onSetupRequired: pageStack.replace(Qt.resolvedUrl("pages/setup/ServerSelectPage.qml"));
|
||||
onSetupRequired: { pageStack.replace(Qt.resolvedUrl("pages/setup/ServerSelectPage.qml")); }
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
@ -8,12 +8,20 @@
|
|||
#include <QGuiApplication>
|
||||
#include <QString>
|
||||
|
||||
#include <QtCore/qloggingcategory.h>
|
||||
|
||||
#include <JellyfinQt/jellyfin.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
QGuiApplication app(argc, argv);
|
||||
app.setApplicationDisplayName(QStringLiteral("Sailfin QtQuick"));
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
// Disable Qt nagging about "implicitly defined onFoo properties in connections are deprecated",
|
||||
// as we cannot yet move towards a newer version.
|
||||
QLoggingCategory::setFilterRules("qt.qml.connections=false");
|
||||
#endif
|
||||
|
||||
qDebug() << "Creating engine";
|
||||
QQmlApplicationEngine engine;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue