Fix password dialog close button

This commit is contained in:
varjolintu 2023-07-16 14:15:29 +03:00 committed by Jonathan White
parent 663d4d99ae
commit 5b47190fcc
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01
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) 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 * 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 * it under the terms of the GNU General Public License as published by
@ -34,7 +34,7 @@
#include "gui/styles/StateColorPalette.h" #include "gui/styles/StateColorPalette.h"
PasswordGeneratorWidget::PasswordGeneratorWidget(QWidget* parent) PasswordGeneratorWidget::PasswordGeneratorWidget(QWidget* parent)
: QWidget(parent) : QDialog(parent)
, m_passwordGenerator(new PasswordGenerator()) , m_passwordGenerator(new PasswordGenerator())
, m_dicewareGenerator(new PassphraseGenerator()) , m_dicewareGenerator(new PassphraseGenerator())
, m_ui(new Ui::PasswordGeneratorWidget()) , 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) 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 * 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 * it under the terms of the GNU General Public License as published by
@ -20,6 +20,7 @@
#define KEEPASSX_PASSWORDGENERATORWIDGET_H #define KEEPASSX_PASSWORDGENERATORWIDGET_H
#include <QComboBox> #include <QComboBox>
#include <QDialog>
#include <QTimer> #include <QTimer>
#include "core/PassphraseGenerator.h" #include "core/PassphraseGenerator.h"
@ -34,7 +35,7 @@ class PasswordGenerator;
class PasswordHealth; class PasswordHealth;
class PassphraseGenerator; class PassphraseGenerator;
class PasswordGeneratorWidget : public QWidget class PasswordGeneratorWidget : public QDialog
{ {
Q_OBJECT Q_OBJECT