mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 00:18:22 -04:00
Merge pull request #986 from raurodse/configurationPythonQt
Add configuration values into pythonqt modules
This commit is contained in:
commit
290559f8c1
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,9 @@ PythonQtViewModule::loadSelf()
|
||||||
s_utils = new ::Utils( Calamares::JobQueue::instance()->globalStorage() );
|
s_utils = new ::Utils( Calamares::JobQueue::instance()->globalStorage() );
|
||||||
cala.addObject( "utils", s_utils );
|
cala.addObject( "utils", s_utils );
|
||||||
|
|
||||||
|
// Append configuration object, in module PythonQt.calamares
|
||||||
|
cala.addVariable("configuration", m_configurationMap);
|
||||||
|
|
||||||
// Basic stdout/stderr handling
|
// Basic stdout/stderr handling
|
||||||
QObject::connect( PythonQt::self(), &PythonQt::pythonStdOut,
|
QObject::connect( PythonQt::self(), &PythonQt::pythonStdOut,
|
||||||
[]( const QString& message )
|
[]( const QString& message )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue