From 792ba8c0af3faaabf8bd022ee232e01f54ff2f66 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 13 Jul 2021 21:28:46 +0200 Subject: [PATCH] [summaryq] Nothing uses the derived type of the model (This assertion may be dialed back if the Config object is used in the summary ViewStep, which will want to get at the widget pointers, but that's for later) --- src/modules/summaryq/Config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/summaryq/Config.h b/src/modules/summaryq/Config.h index 97eaeadd5..ec804321b 100644 --- a/src/modules/summaryq/Config.h +++ b/src/modules/summaryq/Config.h @@ -56,7 +56,7 @@ class Config : public QObject, public QQmlParserStatus ///@brief Description of what the summary means Q_PROPERTY( QString message MEMBER m_message NOTIFY messageChanged ) - Q_PROPERTY( SummaryModel* summaryModel READ summaryModel CONSTANT FINAL ) + Q_PROPERTY( QAbstractListModel* summaryModel READ summaryModel CONSTANT FINAL ) public: explicit Config( Calamares::ViewStep* parent = nullptr ); @@ -66,7 +66,7 @@ public: void refresh(); void init(); - SummaryModel* summaryModel() const { return m_summary; } + QAbstractListModel* summaryModel() const { return m_summary; } private: Calamares::ViewStepList stepsForSummary( const Calamares::ViewStepList& allSteps ) const;