mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-08 14:25:54 -05:00
Fix build broken by Qt
Updating mingw-w64-x86_64-qt5 to version 5.12.4-2 caused EditEntryWidget to fail building. Fixed that with proper includes. Also ran `make format` which revealed one file in need of formatting.
This commit is contained in:
parent
41b2a013a7
commit
bb2d7bca5a
@ -34,10 +34,10 @@
|
||||
|
||||
#include "config-keepassx.h"
|
||||
|
||||
#include <QSharedPointer>
|
||||
#include <QtConcurrentRun>
|
||||
#include <QDesktopServices>
|
||||
#include <QFont>
|
||||
#include <QSharedPointer>
|
||||
#include <QtConcurrentRun>
|
||||
|
||||
DatabaseOpenWidget::DatabaseOpenWidget(QWidget* parent)
|
||||
: DialogyWidget(parent)
|
||||
@ -311,8 +311,7 @@ QSharedPointer<CompositeKey> DatabaseOpenWidget::databaseKey()
|
||||
legacyWarning.setDefaultButton(QMessageBox::Ok);
|
||||
legacyWarning.setCheckBox(new QCheckBox(tr("Don't show this warning again")));
|
||||
|
||||
connect(legacyWarning.checkBox(), &QCheckBox::stateChanged, [](int state)
|
||||
{
|
||||
connect(legacyWarning.checkBox(), &QCheckBox::stateChanged, [](int state) {
|
||||
config()->set("Messages/NoLegacyKeyFileWarning", state == Qt::CheckState::Checked);
|
||||
});
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QStackedLayout>
|
||||
#include <QStandardPaths>
|
||||
#include <QStringListModel>
|
||||
#include <QTemporaryFile>
|
||||
|
||||
#include "autotype/AutoType.h"
|
||||
|
@ -41,6 +41,7 @@ class EntryHistoryModel;
|
||||
class QButtonGroup;
|
||||
class QMenu;
|
||||
class QSortFilterProxyModel;
|
||||
class QStringListModel;
|
||||
#ifdef WITH_XC_SSHAGENT
|
||||
#include "sshagent/KeeAgentSettings.h"
|
||||
class OpenSSHKey;
|
||||
|
Loading…
x
Reference in New Issue
Block a user