diff --git a/src/gui/PasswordGeneratorWidget.cpp b/src/gui/PasswordGeneratorWidget.cpp index c52a65139..b1e684410 100644 --- a/src/gui/PasswordGeneratorWidget.cpp +++ b/src/gui/PasswordGeneratorWidget.cpp @@ -1,6 +1,6 @@ /* - * Copyright (C) 2023 KeePassXC Team * Copyright (C) 2013 Felix Geyer + * Copyright (C) 2022 KeePassXC Team * * 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) - : QDialog(parent) + : QWidget(parent) , m_passwordGenerator(new PasswordGenerator()) , m_dicewareGenerator(new PassphraseGenerator()) , m_ui(new Ui::PasswordGeneratorWidget()) diff --git a/src/gui/PasswordGeneratorWidget.h b/src/gui/PasswordGeneratorWidget.h index 5967233b1..e272e674d 100644 --- a/src/gui/PasswordGeneratorWidget.h +++ b/src/gui/PasswordGeneratorWidget.h @@ -1,6 +1,6 @@ /* - * Copyright (C) 2023 KeePassXC Team * Copyright (C) 2013 Felix Geyer + * Copyright (C) 2022 KeePassXC Team * * 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,7 +20,6 @@ #define KEEPASSX_PASSWORDGENERATORWIDGET_H #include -#include #include #include "core/PassphraseGenerator.h" @@ -35,7 +34,7 @@ class PasswordGenerator; class PasswordHealth; class PassphraseGenerator; -class PasswordGeneratorWidget : public QDialog +class PasswordGeneratorWidget : public QWidget { Q_OBJECT