[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" );
|
QString qmlFile = CalamaresUtils::getString( configurationMap, "filename" );
|
||||||
if ( qmlFile.isEmpty() )
|
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 );
|
m_qmlFileName = searchQmlFile( m_searchMethod, qmlFile, m_name );
|
||||||
|
|
||||||
|
@ -18,9 +18,12 @@
|
|||||||
# Search mode. Valid values are "both", "qrc" and "branding"
|
# Search mode. Valid values are "both", "qrc" and "branding"
|
||||||
search: both
|
search: both
|
||||||
|
|
||||||
# Name of the QML file. If not set, uses the name of the module.
|
# Name of the QML file. If not set, uses the name of the instance
|
||||||
filename: dummyqml
|
# 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:
|
qmlLabel:
|
||||||
notes: "Release Notes"
|
notes: "Release Notes"
|
||||||
notes[nl]: "Opmerkingen"
|
notes[nl]: "Opmerkingen"
|
||||||
|
Loading…
Reference in New Issue
Block a user