OTHER: Change Skin initialisation workaround
Now the Skin is only loaded once on startup, not twice. Instead of loading the Skin a second time, and let Skin emit the skinChanged signal now emitting the signal is initiated from the startup code
This commit is contained in:
parent
1854945831
commit
2a75a139b3
2 changed files with 8 additions and 8 deletions
|
|
@ -56,6 +56,9 @@ class Skin : public QObject
|
|||
const QByteArray getPLeditValue (QByteArray c) const
|
||||
{ return m_pledit_txt.value(c); }
|
||||
|
||||
/* Workaround for programm starup */
|
||||
void emitSkinChanged () { emit skinChanged(this); }
|
||||
|
||||
signals:
|
||||
void skinChanged (Skin *skin);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue