mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-03 04:39:24 +00:00
- Remove organization name for configuration
- Remove Top Bar Menu for Windows and Linux - Set Log file name to executable name
This commit is contained in:
parent
1d0e13ee21
commit
f0da3d5679
3 changed files with 7 additions and 4 deletions
|
|
@ -57,8 +57,7 @@ AppController::AppController (int &argc, char *argv[]) {
|
|||
// Do not use APPLICATION_NAME here.
|
||||
// The EXECUTABLE_NAME will be used in qt standard paths. It's our goal.
|
||||
QCoreApplication::setApplicationName(EXECUTABLE_NAME);
|
||||
QCoreApplication::setApplicationVersion(LINPHONE_QT_GIT_VERSION);
|
||||
QApplication::setOrganizationName(QString(APPLICATION_VENDOR).replace(' ', '-'));
|
||||
QCoreApplication::setApplicationVersion(LINPHONE_QT_GIT_VERSION);
|
||||
QApplication::setOrganizationDomain(APPLICATION_ID);
|
||||
|
||||
mApp = new App(argc, argv);
|
||||
|
|
|
|||
|
|
@ -204,6 +204,7 @@ void Logger::init (const shared_ptr<linphone::Config> &config) {
|
|||
}
|
||||
|
||||
linphone::Core::setLogCollectionPath(Utils::appStringToCoreString(folder));
|
||||
linphone::Core::setLogCollectionPrefix(EXECUTABLE_NAME);
|
||||
linphone::Core::setLogCollectionMaxFileSize(MaxLogsCollectionSize);
|
||||
|
||||
mInstance->enable(SettingsModel::getLogsEnabled(config));
|
||||
|
|
|
|||
|
|
@ -200,7 +200,10 @@ ApplicationWindow {
|
|||
}
|
||||
}
|
||||
}
|
||||
MainWindowTopMenuBar{}
|
||||
Loader{
|
||||
active:Qt.platform.os === 'osx'
|
||||
sourceComponent:MainWindowTopMenuBar{}
|
||||
}
|
||||
// -----------------------------------------------------------------------
|
||||
// Content.
|
||||
// -----------------------------------------------------------------------
|
||||
|
|
@ -271,7 +274,7 @@ ApplicationWindow {
|
|||
Layout.fillWidth: true
|
||||
|
||||
source: 'Home.qml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue