aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/GeneralDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/GeneralDialog.h')
-rw-r--r--src/ui/dialog/GeneralDialog.h18
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