clang-tidy: use = default (#7999)

This commit is contained in:
Rosen Penev 2023-01-29 12:47:13 -08:00 committed by GitHub
parent e1fbed0e25
commit 52af8a5e2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
70 changed files with 72 additions and 216 deletions

View File

@ -25,9 +25,7 @@
class AutoTypePlatformInterface
{
public:
virtual ~AutoTypePlatformInterface()
{
}
virtual ~AutoTypePlatformInterface() = default;
virtual bool isAvailable() = 0;
virtual QStringList windowTitles() = 0;
virtual WId activeWindow() = 0;

View File

@ -92,9 +92,7 @@ AutoTypeSelectDialog::AutoTypeSelectDialog(QWidget* parent)
}
// Required for QScopedPointer
AutoTypeSelectDialog::~AutoTypeSelectDialog()
{
}
AutoTypeSelectDialog::~AutoTypeSelectDialog() = default;
void AutoTypeSelectDialog::setMatches(const QList<AutoTypeMatch>& matches,
const QList<QSharedPointer<Database>>& dbs,

View File

@ -23,9 +23,7 @@
class AutoTypeTestInterface
{
public:
virtual ~AutoTypeTestInterface()
{
}
virtual ~AutoTypeTestInterface() = default;
virtual void setActiveWindowTitle(const QString& title) = 0;
virtual QString actionChars() = 0;

View File

@ -29,9 +29,7 @@ AddGroup::AddGroup()
positionalArguments.append({QString("group"), QObject::tr("Path of the group to add."), QString("")});
}
AddGroup::~AddGroup()
{
}
AddGroup::~AddGroup() = default;
int AddGroup::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{

View File

@ -103,9 +103,7 @@ Command::Command()
options.append(Command::QuietOption);
}
Command::~Command()
{
}
Command::~Command() = default;
QString Command::getDescriptionLine()
{

View File

@ -30,9 +30,7 @@ Move::Move()
positionalArguments.append({QString("group"), QObject::tr("Path of the destination group."), QString("")});
}
Move::~Move()
{
}
Move::~Move() = default;
int Move::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{

View File

@ -30,9 +30,7 @@ RemoveGroup::RemoveGroup()
positionalArguments.append({QString("group"), QObject::tr("Path of the group to remove."), QString("")});
}
RemoveGroup::~RemoveGroup()
{
}
RemoveGroup::~RemoveGroup() = default;
int RemoveGroup::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{

View File

@ -78,13 +78,9 @@ QDateTime Clock::parse(const QString& text, const QString& format)
return QDateTime::fromString(text, format);
}
Clock::~Clock()
{
}
Clock::~Clock() = default;
Clock::Clock()
{
}
Clock::Clock() = default;
QDateTime Clock::currentDateTimeUtcImpl() const
{

View File

@ -454,9 +454,7 @@ Config::Config(QObject* parent)
init(configFiles.first, configFiles.second);
}
Config::~Config()
{
}
Config::~Config() = default;
void Config::init(const QString& configFileName, const QString& localConfigFileName)
{

View File

@ -19,9 +19,7 @@
#include "core/Global.h"
SignalMultiplexer::SignalMultiplexer()
{
}
SignalMultiplexer::SignalMultiplexer() = default;
SignalMultiplexer::~SignalMultiplexer()
{

View File

@ -27,9 +27,7 @@ OpData01::OpData01(QObject* parent)
{
}
OpData01::~OpData01()
{
}
OpData01::~OpData01() = default;
bool OpData01::decodeBase64(QString const& b64String, const QByteArray& key, const QByteArray& hmacKey)
{

View File

@ -35,9 +35,7 @@ OpVaultReader::OpVaultReader(QObject* parent)
{
}
OpVaultReader::~OpVaultReader()
{
}
OpVaultReader::~OpVaultReader() = default;
Database* OpVaultReader::readDatabase(QDir& opdataDir, const QString& password)
{

View File

@ -327,9 +327,7 @@ AboutDialog::AboutDialog(QWidget* parent)
m_ui->buttonBox->button(QDialogButtonBox::Close)->setDefault(true);
}
AboutDialog::~AboutDialog()
{
}
AboutDialog::~AboutDialog() = default;
void AboutDialog::copyToClipboard()
{

View File

@ -175,9 +175,7 @@ ApplicationSettingsWidget::ApplicationSettingsWidget(QWidget* parent)
m_secUi->quickUnlockCheckBox->setVisible(showQuickUnlock);
}
ApplicationSettingsWidget::~ApplicationSettingsWidget()
{
}
ApplicationSettingsWidget::~ApplicationSettingsWidget() = default;
void ApplicationSettingsWidget::addSettingsPage(ISettingsPage* page)
{

View File

@ -30,9 +30,7 @@ namespace Ui
class ISettingsPage
{
public:
virtual ~ISettingsPage()
{
}
virtual ~ISettingsPage() = default;
virtual QString name() = 0;
virtual QIcon icon() = 0;
virtual QWidget* createWidget() = 0;

View File

@ -43,9 +43,7 @@ CategoryListWidget::CategoryListWidget(QWidget* parent)
// clang-format on
}
CategoryListWidget::~CategoryListWidget()
{
}
CategoryListWidget::~CategoryListWidget() = default;
QSize CategoryListWidget::sizeHint() const
{

View File

@ -61,6 +61,4 @@ void CloneDialog::cloneEntry()
close();
}
CloneDialog::~CloneDialog()
{
}
CloneDialog::~CloneDialog() = default;

View File

@ -141,9 +141,7 @@ DatabaseOpenWidget::DatabaseOpenWidget(QWidget* parent)
connect(m_ui->resetQuickUnlockButton, &QPushButton::pressed, this, [this] { resetQuickUnlock(); });
}
DatabaseOpenWidget::~DatabaseOpenWidget()
{
}
DatabaseOpenWidget::~DatabaseOpenWidget() = default;
void DatabaseOpenWidget::showEvent(QShowEvent* event)
{

View File

@ -68,9 +68,7 @@ DatabaseTabWidget::DatabaseTabWidget(QWidget* parent)
connect(&m_lockDelayTimer, &QTimer::timeout, this, [this] { lockDatabases(); });
}
DatabaseTabWidget::~DatabaseTabWidget()
{
}
DatabaseTabWidget::~DatabaseTabWidget() = default;
void DatabaseTabWidget::toggleTabbar()
{

View File

@ -36,9 +36,7 @@ DatabaseWidgetStateSync::DatabaseWidgetStateSync(QObject* parent)
connect(qApp, &QCoreApplication::aboutToQuit, this, &DatabaseWidgetStateSync::sync);
}
DatabaseWidgetStateSync::~DatabaseWidgetStateSync()
{
}
DatabaseWidgetStateSync::~DatabaseWidgetStateSync() = default;
/**
* Sync state with persistent storage.

View File

@ -45,9 +45,7 @@ EditWidget::EditWidget(QWidget* parent)
connect(m_ui->buttonBox, SIGNAL(clicked(QAbstractButton*)), SLOT(buttonClicked(QAbstractButton*)));
}
EditWidget::~EditWidget()
{
}
EditWidget::~EditWidget() = default;
void EditWidget::addPage(const QString& labelText, const QIcon& icon, QWidget* widget)
{

View File

@ -86,9 +86,7 @@ EditWidgetIcons::EditWidgetIcons(QWidget* parent)
#endif
}
EditWidgetIcons::~EditWidgetIcons()
{
}
EditWidgetIcons::~EditWidgetIcons() = default;
IconStruct EditWidgetIcons::state()
{

View File

@ -41,9 +41,7 @@ EditWidgetProperties::EditWidgetProperties(QWidget* parent)
connect(m_ui->removeCustomDataButton, SIGNAL(clicked()), SLOT(removeSelectedPluginData()));
}
EditWidgetProperties::~EditWidgetProperties()
{
}
EditWidgetProperties::~EditWidgetProperties() = default;
void EditWidgetProperties::setFields(const TimeInfo& timeInfo, const QUuid& uuid)
{

View File

@ -107,9 +107,7 @@ EntryPreviewWidget::EntryPreviewWidget(QWidget* parent)
#endif
}
EntryPreviewWidget::~EntryPreviewWidget()
{
}
EntryPreviewWidget::~EntryPreviewWidget() = default;
void EntryPreviewWidget::clear()
{

View File

@ -21,9 +21,7 @@
FileDialog* FileDialog::m_instance(nullptr);
FileDialog::FileDialog()
{
}
FileDialog::FileDialog() = default;
QString FileDialog::getOpenFileName(QWidget* parent,
const QString& caption,

View File

@ -27,9 +27,7 @@ public:
static QFont fixedFont();
private:
Font()
{
}
Font() = default;
};
#endif // KEEPASSX_FONT_H

View File

@ -48,9 +48,7 @@ private:
Icons* Icons::m_instance(nullptr);
Icons::Icons()
{
}
Icons::Icons() = default;
QString Icons::applicationIconName()
{

View File

@ -81,9 +81,7 @@ SearchWidget::SearchWidget(QWidget* parent)
}
}
SearchWidget::~SearchWidget()
{
}
SearchWidget::~SearchWidget() = default;
bool SearchWidget::eventFilter(QObject* obj, QEvent* event)
{

View File

@ -53,9 +53,7 @@ TotpDialog::TotpDialog(QWidget* parent, Entry* entry)
connect(m_ui->buttonBox, SIGNAL(accepted()), SLOT(copyToClipboard()));
}
TotpDialog::~TotpDialog()
{
}
TotpDialog::~TotpDialog() = default;
void TotpDialog::copyToClipboard()
{

View File

@ -38,9 +38,7 @@ TotpSetupDialog::TotpSetupDialog(QWidget* parent, Entry* entry)
init();
}
TotpSetupDialog::~TotpSetupDialog()
{
}
TotpSetupDialog::~TotpSetupDialog() = default;
void TotpSetupDialog::saveSettings()
{

View File

@ -51,9 +51,7 @@ WelcomeWidget::WelcomeWidget(QWidget* parent)
SLOT(openDatabaseFromFile(QListWidgetItem*)));
}
WelcomeWidget::~WelcomeWidget()
{
}
WelcomeWidget::~WelcomeWidget() = default;
void WelcomeWidget::openDatabaseFromFile(QListWidgetItem* item)
{

View File

@ -88,9 +88,7 @@ void CsvImportWidget::skippedChanged(int rows)
updateTableview();
}
CsvImportWidget::~CsvImportWidget()
{
}
CsvImportWidget::~CsvImportWidget() = default;
void CsvImportWidget::configParser()
{

View File

@ -29,9 +29,7 @@ CsvImportWizard::CsvImportWizard(QWidget* parent)
connect(m_parse, SIGNAL(editFinished(bool)), this, SLOT(parseFinished(bool)));
}
CsvImportWizard::~CsvImportWizard()
{
}
CsvImportWizard::~CsvImportWizard() = default;
void CsvImportWizard::load(const QString& filename, Database* database)
{

View File

@ -26,9 +26,7 @@ CsvParserModel::CsvParserModel(QObject* parent)
{
}
CsvParserModel::~CsvParserModel()
{
}
CsvParserModel::~CsvParserModel() = default;
void CsvParserModel::setFilename(const QString& filename)
{

View File

@ -43,9 +43,7 @@ KeyComponentWidget::KeyComponentWidget(QWidget* parent)
m_ui->stackedWidget->blockSignals(prev);
}
KeyComponentWidget::~KeyComponentWidget()
{
}
KeyComponentWidget::~KeyComponentWidget() = default;
void KeyComponentWidget::setComponentAdded(bool added)
{

View File

@ -33,9 +33,7 @@ KeyFileEditWidget::KeyFileEditWidget(DatabaseSettingsWidget* parent)
initComponent();
}
KeyFileEditWidget::~KeyFileEditWidget()
{
}
KeyFileEditWidget::~KeyFileEditWidget() = default;
bool KeyFileEditWidget::addToCompositeKey(QSharedPointer<CompositeKey> key)
{

View File

@ -29,9 +29,7 @@ PasswordEditWidget::PasswordEditWidget(QWidget* parent)
initComponent();
}
PasswordEditWidget::~PasswordEditWidget()
{
}
PasswordEditWidget::~PasswordEditWidget() = default;
bool PasswordEditWidget::addToCompositeKey(QSharedPointer<CompositeKey> key)
{

View File

@ -33,9 +33,7 @@ YubiKeyEditWidget::YubiKeyEditWidget(QWidget* parent)
connect(YubiKey::instance(), SIGNAL(detectComplete(bool)), SLOT(hardwareKeyResponse(bool)), Qt::QueuedConnection);
}
YubiKeyEditWidget::~YubiKeyEditWidget()
{
}
YubiKeyEditWidget::~YubiKeyEditWidget() = default;
bool YubiKeyEditWidget::addToCompositeKey(QSharedPointer<CompositeKey> key)
{

View File

@ -122,9 +122,7 @@ DatabaseSettingsDialog::DatabaseSettingsDialog(QWidget* parent)
pageChanged();
}
DatabaseSettingsDialog::~DatabaseSettingsDialog()
{
}
DatabaseSettingsDialog::~DatabaseSettingsDialog() = default;
void DatabaseSettingsDialog::load(const QSharedPointer<Database>& db)
{

View File

@ -41,9 +41,7 @@ namespace Ui
class IDatabaseSettingsPage
{
public:
virtual ~IDatabaseSettingsPage()
{
}
virtual ~IDatabaseSettingsPage() = default;
virtual QString name() = 0;
virtual QIcon icon() = 0;
virtual QWidget* createWidget() = 0;

View File

@ -23,9 +23,7 @@ DatabaseSettingsWidget::DatabaseSettingsWidget(QWidget* parent)
{
}
DatabaseSettingsWidget::~DatabaseSettingsWidget()
{
}
DatabaseSettingsWidget::~DatabaseSettingsWidget() = default;
/**
* Load the database to be configured by this page and initialize the page.

View File

@ -71,9 +71,7 @@ DatabaseSettingsWidgetDatabaseKey::DatabaseSettingsWidgetDatabaseKey(QWidget* pa
setLayout(vbox);
}
DatabaseSettingsWidgetDatabaseKey::~DatabaseSettingsWidgetDatabaseKey()
{
}
DatabaseSettingsWidgetDatabaseKey::~DatabaseSettingsWidgetDatabaseKey() = default;
void DatabaseSettingsWidgetDatabaseKey::load(QSharedPointer<Database> db)
{

View File

@ -70,9 +70,7 @@ DatabaseSettingsWidgetEncryption::DatabaseSettingsWidgetEncryption(QWidget* pare
connect(m_ui->parallelismSpinBox, SIGNAL(valueChanged(int)), SLOT(markDirty()));
}
DatabaseSettingsWidgetEncryption::~DatabaseSettingsWidgetEncryption()
{
}
DatabaseSettingsWidgetEncryption::~DatabaseSettingsWidgetEncryption() = default;
#define IS_ARGON2(uuid) (uuid == KeePass2::KDF_ARGON2D || uuid == KeePass2::KDF_ARGON2ID)
#define IS_AES_KDF(uuid) (uuid == KeePass2::KDF_AES_KDBX3 || uuid == KeePass2::KDF_AES_KDBX4)

View File

@ -33,9 +33,7 @@ DatabaseSettingsWidgetGeneral::DatabaseSettingsWidgetGeneral(QWidget* parent)
connect(m_ui->historyMaxSizeCheckBox, SIGNAL(toggled(bool)), m_ui->historyMaxSizeSpinBox, SLOT(setEnabled(bool)));
}
DatabaseSettingsWidgetGeneral::~DatabaseSettingsWidgetGeneral()
{
}
DatabaseSettingsWidgetGeneral::~DatabaseSettingsWidgetGeneral() = default;
void DatabaseSettingsWidgetGeneral::initialize()
{

View File

@ -42,9 +42,7 @@ DatabaseSettingsWidgetMaintenance::DatabaseSettingsWidgetMaintenance(QWidget* pa
SLOT(selectionChanged()));
}
DatabaseSettingsWidgetMaintenance::~DatabaseSettingsWidgetMaintenance()
{
}
DatabaseSettingsWidgetMaintenance::~DatabaseSettingsWidgetMaintenance() = default;
void DatabaseSettingsWidgetMaintenance::populateIcons(QSharedPointer<Database> db)
{

View File

@ -28,9 +28,7 @@ DatabaseSettingWidgetMetaData::DatabaseSettingWidgetMetaData(QWidget* parent)
m_ui->setupUi(this);
}
DatabaseSettingWidgetMetaData::~DatabaseSettingWidgetMetaData()
{
}
DatabaseSettingWidgetMetaData::~DatabaseSettingWidgetMetaData() = default;
void DatabaseSettingWidgetMetaData::initialize()
{

View File

@ -135,9 +135,7 @@ EditEntryWidget::EditEntryWidget(QWidget* parent)
m_mainUi->passwordEdit->setQualityVisible(true);
}
EditEntryWidget::~EditEntryWidget()
{
}
EditEntryWidget::~EditEntryWidget() = default;
void EditEntryWidget::setupMain()
{

View File

@ -75,9 +75,7 @@ EntryAttachmentsWidget::EntryAttachmentsWidget(QWidget* parent)
updateButtonsEnabled();
}
EntryAttachmentsWidget::~EntryAttachmentsWidget()
{
}
EntryAttachmentsWidget::~EntryAttachmentsWidget() = default;
const EntryAttachments* EntryAttachmentsWidget::attachments() const
{

View File

@ -44,9 +44,7 @@ ExportDialog::ExportDialog(QSharedPointer<const Database> db, DatabaseTabWidget*
MessageWidget::Warning);
}
ExportDialog::~ExportDialog()
{
}
ExportDialog::~ExportDialog() = default;
QString ExportDialog::getStrategyName(ExportSortingStrategy strategy)
{

View File

@ -112,9 +112,7 @@ EditGroupWidget::EditGroupWidget(QWidget* parent)
setupModifiedTracking();
}
EditGroupWidget::~EditGroupWidget()
{
}
EditGroupWidget::~EditGroupWidget() = default;
void EditGroupWidget::setupModifiedTracking()
{

View File

@ -39,9 +39,7 @@ namespace Ui
class IEditGroupPage
{
public:
virtual ~IEditGroupPage()
{
}
virtual ~IEditGroupPage() = default;
virtual QString name() = 0;
virtual QIcon icon() = 0;
virtual QWidget* createWidget() = 0;

View File

@ -22,9 +22,7 @@ OSUtilsBase::OSUtilsBase(QObject* parent)
{
}
OSUtilsBase::~OSUtilsBase()
{
}
OSUtilsBase::~OSUtilsBase() = default;
bool OSUtilsBase::setPreventScreenCapture(QWindow*, bool) const
{

View File

@ -25,6 +25,4 @@ ScreenLockListener::ScreenLockListener(QWidget* parent)
connect(m_listener, SIGNAL(screenLocked()), this, SIGNAL(screenLocked()));
}
ScreenLockListener::~ScreenLockListener()
{
}
ScreenLockListener::~ScreenLockListener() = default;

View File

@ -83,9 +83,7 @@ NixUtils::NixUtils(QObject* parent)
sessionBus.callWithCallback(msg, this, SLOT(handleColorSchemeRead(QDBusVariant)));
}
NixUtils::~NixUtils()
{
}
NixUtils::~NixUtils() = default;
bool NixUtils::isDarkMode() const
{

View File

@ -95,9 +95,7 @@ ReportsDialog::ReportsDialog(QWidget* parent)
connect(m_editEntryWidget, SIGNAL(editFinished(bool)), SLOT(switchToMainView(bool)));
}
ReportsDialog::~ReportsDialog()
{
}
ReportsDialog::~ReportsDialog() = default;
void ReportsDialog::load(const QSharedPointer<Database>& db)
{

View File

@ -41,9 +41,7 @@ namespace Ui
class IReportsPage
{
public:
virtual ~IReportsPage()
{
}
virtual ~IReportsPage() = default;
virtual QString name() = 0;
virtual QIcon icon() = 0;
virtual QWidget* createWidget() = 0;

View File

@ -22,9 +22,7 @@ ReportsWidget::ReportsWidget(QWidget* parent)
{
}
ReportsWidget::~ReportsWidget()
{
}
ReportsWidget::~ReportsWidget() = default;
/**
* Load the database to be configured by this page and initialize the page.

View File

@ -158,9 +158,7 @@ ReportsWidgetHealthcheck::ReportsWidgetHealthcheck(QWidget* parent)
new QShortcut(Qt::Key_Delete, this, SLOT(deleteSelectedEntries()));
}
ReportsWidgetHealthcheck::~ReportsWidgetHealthcheck()
{
}
ReportsWidgetHealthcheck::~ReportsWidgetHealthcheck() = default;
void ReportsWidgetHealthcheck::addHealthRow(QSharedPointer<PasswordHealth> health,
Group* group,

View File

@ -79,9 +79,7 @@ ReportsWidgetHibp::ReportsWidgetHibp(QWidget* parent)
new QShortcut(Qt::Key_Delete, this, SLOT(deleteSelectedEntries()));
}
ReportsWidgetHibp::~ReportsWidgetHibp()
{
}
ReportsWidgetHibp::~ReportsWidgetHibp() = default;
void ReportsWidgetHibp::loadSettings(QSharedPointer<Database> db)
{

View File

@ -41,9 +41,7 @@ ReportsWidgetStatistics::ReportsWidgetStatistics(QWidget* parent)
m_ui->statisticsTableView->horizontalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents);
}
ReportsWidgetStatistics::~ReportsWidgetStatistics()
{
}
ReportsWidgetStatistics::~ReportsWidgetStatistics() = default;
void ReportsWidgetStatistics::addStatsRow(QString name, QString value, bool bad, QString badMsg)
{

View File

@ -22,9 +22,7 @@ SettingsWidget::SettingsWidget(QWidget* parent)
{
}
SettingsWidget::~SettingsWidget()
{
}
SettingsWidget::~SettingsWidget() = default;
/**
* Switch between simple mode (the default) and advanced mode.

View File

@ -773,9 +773,7 @@ namespace Phantom
static MenuItemMetrics ofFontHeight(int fontHeight);
private:
MenuItemMetrics()
{
}
MenuItemMetrics() = default;
};
MenuItemMetrics MenuItemMetrics::ofFontHeight(int fontHeight)

View File

@ -42,9 +42,7 @@ namespace Phantom
struct Rgb
{
qreal r, g, b;
Rgb()
{
}
Rgb() = default;
Rgb(qreal r, qreal g, qreal b)
: r(r)
, g(g)
@ -78,9 +76,7 @@ namespace Phantom
struct Hsl
{
qreal h, s, l;
Hsl()
{
}
Hsl() = default;
Hsl(qreal h, qreal s, qreal l)
: h(h)
, s(s)

View File

@ -33,9 +33,7 @@ TagModel::TagModel(QObject* parent)
<< qMakePair(tr("Weak Passwords"), QString("is:weak"));
}
TagModel::~TagModel()
{
}
TagModel::~TagModel() = default;
void TagModel::setDatabase(QSharedPointer<Database> db)
{

View File

@ -63,9 +63,7 @@ NewDatabaseWizard::NewDatabaseWizard(QWidget* parent)
pageFrame->setPalette(framePalette);
}
NewDatabaseWizard::~NewDatabaseWizard()
{
}
NewDatabaseWizard::~NewDatabaseWizard() = default;
bool NewDatabaseWizard::validateCurrentPage()
{

View File

@ -31,9 +31,7 @@ NewDatabaseWizardPage::NewDatabaseWizardPage(QWidget* parent)
connect(m_ui->advancedSettingsButton, SIGNAL(clicked()), SLOT(toggleAdvancedSettings()));
}
NewDatabaseWizardPage::~NewDatabaseWizardPage()
{
}
NewDatabaseWizardPage::~NewDatabaseWizardPage() = default;
/**
* Set the database settings page widget for this wizard page.

View File

@ -27,6 +27,4 @@ NewDatabaseWizardPageDatabaseKey::NewDatabaseWizardPageDatabaseKey(QWidget* pare
setSubTitle(tr("A set of credentials known only to you that protects your database."));
}
NewDatabaseWizardPageDatabaseKey::~NewDatabaseWizardPageDatabaseKey()
{
}
NewDatabaseWizardPageDatabaseKey::~NewDatabaseWizardPageDatabaseKey() = default;

View File

@ -28,6 +28,4 @@ NewDatabaseWizardPageEncryption::NewDatabaseWizardPageEncryption(QWidget* parent
"Don't worry, you can change them later in the database settings."));
}
NewDatabaseWizardPageEncryption::~NewDatabaseWizardPageEncryption()
{
}
NewDatabaseWizardPageEncryption::~NewDatabaseWizardPageEncryption() = default;

View File

@ -27,6 +27,4 @@ NewDatabaseWizardPageMetaData::NewDatabaseWizardPageMetaData(QWidget* parent)
setSubTitle(tr("Please fill in the display name and an optional description for your new database:"));
}
NewDatabaseWizardPageMetaData::~NewDatabaseWizardPageMetaData()
{
}
NewDatabaseWizardPageMetaData::~NewDatabaseWizardPageMetaData() = default;

View File

@ -18,9 +18,7 @@
#include "YubiKey.h"
YubiKey::YubiKey()
{
}
YubiKey::YubiKey() = default;
YubiKey* YubiKey::m_instance(Q_NULLPTR);