mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 14:18:09 +00:00
feat(AppController): force default theme style
(cherry picked from commit 83a307e337)
This commit is contained in:
parent
ae3400e024
commit
be59d7d5f1
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include <QDirIterator>
|
||||
#include <QFontDatabase>
|
||||
#include <QMessageBox>
|
||||
#include <QQuickStyle>
|
||||
|
||||
#include "gitversion.h"
|
||||
|
||||
|
|
@ -83,6 +84,7 @@ AppController::AppController (int &argc, char *argv[]) {
|
|||
QCoreApplication::setApplicationVersion(APPLICATION_VERSION);
|
||||
|
||||
mApp = new App(argc, argv);
|
||||
QQuickStyle::setStyle("Default");
|
||||
if (mApp->isSecondary()) {
|
||||
QString command = mApp->getCommandArgument();
|
||||
mApp->sendMessage(command.isEmpty() ? "show" : command.toLocal8Bit(), -1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue