diff options
author | Saturn&Eric <[email protected]> | 2024-01-23 07:21:28 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-23 07:21:28 +0000 |
commit | 56acf161d439ce73eceaa145c40fe703bb2c3f02 (patch) | |
tree | a5d4790a6b2efc8786a3c0f74a07f5a8032d4e94 /src/ui/dialog/GeneralDialog.h | |
parent | fix: use more secure cdn links (diff) | |
parent | fix: solve issues on detected gnupg path function and fix linking errors on w... (diff) | |
download | GpgFrontend-56acf161d439ce73eceaa145c40fe703bb2c3f02.tar.gz GpgFrontend-56acf161d439ce73eceaa145c40fe703bb2c3f02.zip |
Merge pull request #126 from saturneric/dev/2.1.1/main
Develop 2.1.2.1
Diffstat (limited to 'src/ui/dialog/GeneralDialog.h')
-rw-r--r-- | src/ui/dialog/GeneralDialog.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/ui/dialog/GeneralDialog.h b/src/ui/dialog/GeneralDialog.h index dc42fb6b..604c8475 100644 --- a/src/ui/dialog/GeneralDialog.h +++ b/src/ui/dialog/GeneralDialog.h @@ -1,7 +1,7 @@ -/* - * Copyright (c) 2022. Saturneric +/** + * Copyright (C) 2021 Saturneric <[email protected]> * - * This file is part of GpgFrontend. + * This file is part of GpgFrontend. * * GpgFrontend is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,13 +20,13 @@ * the gpg4usb project, which is under GPL-3.0-or-later. * * All the source code of GpgFrontend was modified and released by - * Saturneric<[email protected]> starting on May 12, 2021. + * Saturneric <[email protected]> starting on May 12, 2021. * * SPDX-License-Identifier: GPL-3.0-or-later + * */ -#ifndef GPGFRONTEND_GENERALDIALOG_H -#define GPGFRONTEND_GENERALDIALOG_H +#pragma once #include "ui/GpgFrontendUI.h" @@ -38,7 +38,7 @@ class GeneralDialog : public QDialog { * * @param name */ - explicit GeneralDialog(std::string name, QWidget* parent = nullptr); + explicit GeneralDialog(QString name, QWidget* parent = nullptr); /** * @@ -86,12 +86,10 @@ class GeneralDialog : public QDialog { */ void update_rect_cache(); - std::string name_; ///< + QString name_; ///< QRect rect_; QRect parent_rect_; QRect screen_rect_; bool rect_restored_ = false; }; } // namespace GpgFrontend::UI - -#endif // GPGFRONTEND_GENERALDIALOG_H |