mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-09 07:46:12 -04: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 "config-keepassx.h"
|
||||||
|
|
||||||
#include <QSharedPointer>
|
|
||||||
#include <QtConcurrentRun>
|
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
|
#include <QSharedPointer>
|
||||||
|
#include <QtConcurrentRun>
|
||||||
|
|
||||||
DatabaseOpenWidget::DatabaseOpenWidget(QWidget* parent)
|
DatabaseOpenWidget::DatabaseOpenWidget(QWidget* parent)
|
||||||
: DialogyWidget(parent)
|
: DialogyWidget(parent)
|
||||||
@ -311,8 +311,7 @@ QSharedPointer<CompositeKey> DatabaseOpenWidget::databaseKey()
|
|||||||
legacyWarning.setDefaultButton(QMessageBox::Ok);
|
legacyWarning.setDefaultButton(QMessageBox::Ok);
|
||||||
legacyWarning.setCheckBox(new QCheckBox(tr("Don't show this warning again")));
|
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);
|
config()->set("Messages/NoLegacyKeyFileWarning", state == Qt::CheckState::Checked);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
#include <QStackedLayout>
|
#include <QStackedLayout>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
#include <QStringListModel>
|
||||||
#include <QTemporaryFile>
|
#include <QTemporaryFile>
|
||||||
|
|
||||||
#include "autotype/AutoType.h"
|
#include "autotype/AutoType.h"
|
||||||
|
@ -41,6 +41,7 @@ class EntryHistoryModel;
|
|||||||
class QButtonGroup;
|
class QButtonGroup;
|
||||||
class QMenu;
|
class QMenu;
|
||||||
class QSortFilterProxyModel;
|
class QSortFilterProxyModel;
|
||||||
|
class QStringListModel;
|
||||||
#ifdef WITH_XC_SSHAGENT
|
#ifdef WITH_XC_SSHAGENT
|
||||||
#include "sshagent/KeeAgentSettings.h"
|
#include "sshagent/KeeAgentSettings.h"
|
||||||
class OpenSSHKey;
|
class OpenSSHKey;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user