mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-13 16:56:03 -04:00
Remove GUI bootstraping from core/ (#5513)
This commit is contained in:
parent
fb87b1c794
commit
48d9fb3e79
12 changed files with 83 additions and 82 deletions
|
@ -29,13 +29,14 @@
|
|||
#include "TestGlobal.h"
|
||||
#include "config-keepassx-tests.h"
|
||||
|
||||
#include "core/Bootstrap.h"
|
||||
#include "core/Config.h"
|
||||
#include "core/Tools.h"
|
||||
#include "crypto/Crypto.h"
|
||||
#include "gui/Application.h"
|
||||
#include "gui/DatabaseTabWidget.h"
|
||||
#include "gui/DatabaseWidget.h"
|
||||
#include "gui/FileDialog.h"
|
||||
#include "gui/MainWindow.h"
|
||||
#include "gui/MessageBox.h"
|
||||
#include "gui/wizard/NewDatabaseWizard.h"
|
||||
#include "util/TemporaryFile.h"
|
||||
|
@ -195,7 +196,7 @@ void TestGuiFdoSecrets::initTestCase()
|
|||
// activate within individual tests
|
||||
FdoSecrets::settings()->setShowNotification(false);
|
||||
|
||||
Bootstrap::bootstrapApplication();
|
||||
Application::bootstrap();
|
||||
|
||||
m_mainWindow.reset(new MainWindow());
|
||||
m_tabWidget = m_mainWindow->findChild<DatabaseTabWidget*>("tabWidget");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue