1
0
Fork 0

Launcher: move QML files to a sub-directory

This commit is contained in:
James Turner 2017-12-12 16:50:07 +00:00
parent f964728422
commit d98cd3a717
29 changed files with 27 additions and 29 deletions

View file

@ -84,8 +84,6 @@ if (HAVE_QT)
TimeSettings.qml
ViewSettings.qml
Weather.qml
AircraftList.qml
Scrollbar.qml
)
add_library(fglauncher QtLauncher.cxx

View file

@ -155,7 +155,7 @@ LauncherMainWindow::LauncherMainWindow() :
m_ui->aircraftList->engine()->rootContext()->setContextProperty("_launcher", this);
m_ui->aircraftList->engine()->setObjectOwnership(this, QQmlEngine::CppOwnership);
m_ui->aircraftList->setSource(QUrl("qrc:///AircraftList.qml"));
m_ui->aircraftList->setSource(QUrl("qrc:///qml/AircraftList.qml"));
connect(m_aircraftModel, &AircraftItemModel::aircraftInstallCompleted,
this, &LauncherMainWindow::onAircraftInstalledCompleted);

View file

@ -28,34 +28,34 @@
<file alias="toolbox-settings">toolbox-settings.png</file>
<file alias="toolbox-summary">toolbox-summary.png</file>
<file alias="toolbox-addons">toolbox-addons.png</file>
<file>AircraftList.qml</file>
<file>AircraftRating.qml</file>
<file>ArrowButton.qml</file>
<file>AircraftDownloadPanel.qml</file>
<file>Button.qml</file>
<file>AircraftWarningPanel.qml</file>
<file>Scrollbar.qml</file>
<file>AircraftDetailsView.qml</file>
<file>AircraftFullDelegate.qml</file>
<file>AircraftCompactDelegate.qml</file>
<file>SearchButton.qml</file>
<file>AircraftPreviewPanel.qml</file>
<file>TabButton.qml</file>
<file>Checkbox.qml</file>
<file>Slider.qml</file>
<file>ToggleSwitch.qml</file>
<file>RatingSlider.qml</file>
<file>PopupChoice.qml</file>
<file>qml/AircraftList.qml</file>
<file>qml/AircraftRating.qml</file>
<file>qml/ArrowButton.qml</file>
<file>qml/AircraftDownloadPanel.qml</file>
<file>qml/Button.qml</file>
<file>qml/AircraftWarningPanel.qml</file>
<file>qml/Scrollbar.qml</file>
<file>qml/AircraftDetailsView.qml</file>
<file>qml/AircraftFullDelegate.qml</file>
<file>qml/AircraftCompactDelegate.qml</file>
<file>qml/SearchButton.qml</file>
<file>qml/AircraftPreviewPanel.qml</file>
<file>qml/TabButton.qml</file>
<file>qml/Checkbox.qml</file>
<file>qml/Slider.qml</file>
<file>qml/ToggleSwitch.qml</file>
<file>qml/RatingSlider.qml</file>
<file>qml/PopupChoice.qml</file>
<file alias="up-down-arrow">up-down-arrow.png</file>
<file>AircraftVariantChoice.qml</file>
<file>qml/AircraftVariantChoice.qml</file>
<file alias="search-icon-small">search-icon-small.png</file>
<file>AircraftRatingsPanel.qml</file>
<file>NoDefaultCatalogPanel.qml</file>
<file>ListHeaderBox.qml</file>
<file>UpdateAllPanel.qml</file>
<file>Style.qml</file>
<file>qmldir</file>
<file>ClickableText.qml</file>
<file>qml/AircraftRatingsPanel.qml</file>
<file>qml/NoDefaultCatalogPanel.qml</file>
<file>qml/ListHeaderBox.qml</file>
<file>qml/UpdateAllPanel.qml</file>
<file>qml/Style.qml</file>
<file>qml/qmldir</file>
<file>qml/ClickableText.qml</file>
</qresource>
<qresource prefix="/preview">
<file alias="close-icon">preview-close.png</file>