mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix(Colors): override colors at core creation
This commit is contained in:
parent
af69ff5199
commit
2784afb6db
2 changed files with 7 additions and 0 deletions
|
|
@ -34,6 +34,10 @@ using namespace std;
|
|||
// =============================================================================
|
||||
|
||||
Colors::Colors (QObject *parent) : QObject(parent) {
|
||||
QObject::connect(CoreManager::getInstance(), &CoreManager::coreCreated, this, &Colors::overrideColors);
|
||||
}
|
||||
|
||||
void Colors::overrideColors () {
|
||||
shared_ptr<linphone::Config> config = CoreManager::getInstance()->getCore()->getConfig();
|
||||
const QMetaObject *info = metaObject();
|
||||
|
||||
|
|
|
|||
|
|
@ -120,6 +120,9 @@ signals:
|
|||
void colorTzChanged (const QColor &color);
|
||||
|
||||
void colorTerrorChanged (const QColor &color);
|
||||
|
||||
private:
|
||||
void overrideColors ();
|
||||
};
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue