[dummyqml] Minor polishing in Qml module
- document the default filename better - mark TODO actually loading the instance-id file
This commit is contained in:
parent
0c65ecf53e
commit
abdeb07bd3
@ -247,9 +247,10 @@ Calamares::QmlViewStep::setConfigurationMap( const QVariantMap& configurationMap
|
||||
QString qmlFile = CalamaresUtils::getString( configurationMap, "filename" );
|
||||
if ( qmlFile.isEmpty() )
|
||||
{
|
||||
cWarning() << "No QML file for module" << m_name;
|
||||
// TODO use the module instance
|
||||
}
|
||||
else if ( !m_qmlComponent )
|
||||
|
||||
if ( !m_qmlComponent )
|
||||
{
|
||||
m_qmlFileName = searchQmlFile( m_searchMethod, qmlFile, m_name );
|
||||
|
||||
|
@ -18,8 +18,11 @@
|
||||
# Search mode. Valid values are "both", "qrc" and "branding"
|
||||
search: both
|
||||
|
||||
# Name of the QML file. If not set, uses the name of the module.
|
||||
filename: dummyqml
|
||||
# Name of the QML file. If not set, uses the name of the instance
|
||||
# of the module (e.g. if you list this module in `settings.conf`
|
||||
# in the *instances* section, you get *id*, otherwise it would
|
||||
# normally be "dummyqml").
|
||||
# filename: dummyqml
|
||||
|
||||
qmlLabel:
|
||||
notes: "Release Notes"
|
||||
|
Loading…
Reference in New Issue
Block a user