diff options
author | saturneric <[email protected]> | 2025-04-15 23:43:24 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-15 23:43:24 +0000 |
commit | c2d072e60a83ec2ce17fb4e3168b99b001bb5ae9 (patch) | |
tree | 795d97fddb3bc094326b87ec5ee854f71b448228 /src/m_gpg_info/GnupgTab.h | |
parent | fix: do not show commit hash mismatch in flatpak container (diff) | |
download | Modules-c2d072e60a83ec2ce17fb4e3168b99b001bb5ae9.tar.gz Modules-c2d072e60a83ec2ce17fb4e3168b99b001bb5ae9.zip |
fix: crash due to memory bad access
Diffstat (limited to 'src/m_gpg_info/GnupgTab.h')
-rw-r--r-- | src/m_gpg_info/GnupgTab.h | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/src/m_gpg_info/GnupgTab.h b/src/m_gpg_info/GnupgTab.h index cd7f4a6..d25f0f7 100644 --- a/src/m_gpg_info/GnupgTab.h +++ b/src/m_gpg_info/GnupgTab.h @@ -46,18 +46,41 @@ class GnupgTab : public QWidget { */ explicit GnupgTab(QWidget* parent = nullptr); - private: - std::shared_ptr<Ui_GnuPGInfo> ui_; ///< + signals: /** * @brief * */ - void process_software_info(); + void SignalGnuPGInfoGathered(); + private slots: /** * @brief * */ - void gather_gnupg_info(); + void slot_process_software_info(); + + /** + * @brief + * + */ + void slot_gather_gnupg_info(); + + private: + std::shared_ptr<Ui_GnuPGInfo> ui_; ///< +}; + +class GnupgTabWatcher : public QObject { + Q_OBJECT + public: + /** + * @brief Construct a new Gnupg Tab Watcher object + * + * @param tab + */ + explicit GnupgTabWatcher(GnupgTab* tab); + + signals: + void SignalGnuPGInfoGathered(); }; |