Fix password dialog close button

This commit is contained in:
varjolintu 2023-07-16 14:15:29 +03:00 committed by Jonathan White
parent 1b12c958c5
commit 0a7585852b
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/*
* Copyright (C) 2023 KeePassXC Team <team@keepassxc.org>
* Copyright (C) 2013 Felix Geyer <debfx@fobos.de>
* Copyright (C) 2022 KeePassXC Team <team@keepassxc.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,7 +34,7 @@
#include "gui/styles/StateColorPalette.h"
PasswordGeneratorWidget::PasswordGeneratorWidget(QWidget* parent)
: QWidget(parent)
: QDialog(parent)
, m_passwordGenerator(new PasswordGenerator())
, m_dicewareGenerator(new PassphraseGenerator())
, m_ui(new Ui::PasswordGeneratorWidget())

View File

@ -1,6 +1,6 @@
/*
* Copyright (C) 2023 KeePassXC Team <team@keepassxc.org>
* Copyright (C) 2013 Felix Geyer <debfx@fobos.de>
* Copyright (C) 2022 KeePassXC Team <team@keepassxc.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -20,6 +20,7 @@
#define KEEPASSX_PASSWORDGENERATORWIDGET_H
#include <QComboBox>
#include <QDialog>
#include <QTimer>
#include "core/PassphraseGenerator.h"
@ -34,7 +35,7 @@ class PasswordGenerator;
class PasswordHealth;
class PassphraseGenerator;
class PasswordGeneratorWidget : public QWidget
class PasswordGeneratorWidget : public QDialog
{
Q_OBJECT