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:
Thomas Frauendorfer 2009-09-11 03:14:12 +02:00
parent 1854945831
commit 2a75a139b3
2 changed files with 8 additions and 8 deletions

View file

@ -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);