Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Dec 11, 2024
1 parent 0201a13 commit bf777cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/dataManagement/Downloadable_MultiFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void DataManagement::Downloadable_MultiFile::deleteFiles()
}


auto DataManagement::Downloadable_MultiFile::downloadables() -> QVector<DataManagement::Downloadable_Abstract*>
QVector<DataManagement::Downloadable_Abstract*> DataManagement::Downloadable_MultiFile::downloadables()
{
QVector<DataManagement::Downloadable_Abstract*> result;
foreach(auto downloadable, m_downloadables.value())
Expand Down
4 changes: 2 additions & 2 deletions src/dataManagement/Downloadable_MultiFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Downloadable_MultiFile : public Downloadable_Abstract {
*
* This property holds a list of direct children of the instance. The list is sorted by section and object name, and never contains a zero pointer.
*/
Q_PROPERTY(QList<DataManagement::Downloadable_Abstract*> downloadables READ downloadables NOTIFY downloadablesChanged)
Q_PROPERTY(QVector<DataManagement::Downloadable_Abstract*> downloadables READ downloadables NOTIFY downloadablesChanged)


//
Expand All @@ -85,7 +85,7 @@ class Downloadable_MultiFile : public Downloadable_Abstract {
*
* @returns Property downloadables
*/
[[nodiscard]] auto downloadables() -> QList<DataManagement::Downloadable_Abstract*>;
[[nodiscard]] QVector<DataManagement::Downloadable_Abstract*> downloadables();

/*! \brief Implementation of pure virtual getter method from Downloadable_Abstract
*
Expand Down
8 changes: 3 additions & 5 deletions src/qml/pages/DataManagerPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ import QtQuick.Dialogs
import QtQuick.Layouts

import akaflieg_freiburg.enroute
import "../dialogs"
import "../items"

Page {
id: pg
Expand Down Expand Up @@ -344,7 +342,7 @@ Page {
onFlickEnded: {
if ( atYBeginning && refreshFlick ) {
PlatformAdaptor.vibrateBrief()
DataManager.updateRemoteDataItemList()
DataManager.mapList.startDownload()
}
}
}
Expand Down Expand Up @@ -375,7 +373,7 @@ Page {
onFlickEnded: {
if ( atYBeginning && refreshFlick ) {
PlatformAdaptor.vibrateBrief()
DataManager.updateRemoteDataItemList()
DataManager.mapList.startDownload()
}
}

Expand Down Expand Up @@ -419,7 +417,7 @@ Page {
onFlickEnded: {
if ( atYBeginning && refreshFlick ) {
PlatformAdaptor.vibrateBrief()
DataManager.updateRemoteDataItemList()
DataManager.mapList.startDownload()
}
}
}
Expand Down

0 comments on commit bf777cc

Please sign in to comment.