diff options
author | saturneric <[email protected]> | 2024-11-24 20:17:43 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-24 20:17:43 +0000 |
commit | b4e556d834a0c1e1cedbbda0a91cd892f9105d20 (patch) | |
tree | 6fe99ac300a8643daa7177b8f83820acb097f9aa /src/ui/widgets/InfoBoardWidget.cpp | |
parent | fix: solve key list drag and drop refreshing issue (diff) | |
download | GpgFrontend-b4e556d834a0c1e1cedbbda0a91cd892f9105d20.tar.gz GpgFrontend-b4e556d834a0c1e1cedbbda0a91cd892f9105d20.zip |
feat: allow drag and drop to open text file
Diffstat (limited to 'src/ui/widgets/InfoBoardWidget.cpp')
-rw-r--r-- | src/ui/widgets/InfoBoardWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.cpp b/src/ui/widgets/InfoBoardWidget.cpp index 21a6c08a..92b22452 100644 --- a/src/ui/widgets/InfoBoardWidget.cpp +++ b/src/ui/widgets/InfoBoardWidget.cpp @@ -32,6 +32,7 @@ #include "core/model/SettingsObject.h" #include "ui/UISignalStation.h" #include "ui/struct/settings_object/AppearanceSO.h" +#include "ui/widgets/TextEditTabWidget.h" #include "ui_InfoBoard.h" namespace GpgFrontend::UI { @@ -103,7 +104,7 @@ void InfoBoardWidget::AssociateTextEdit(QTextEdit* edit) { connect(edit, &QTextEdit::textChanged, this, &InfoBoardWidget::SlotReset); } -void InfoBoardWidget::AssociateTabWidget(QTabWidget* tab) { +void InfoBoardWidget::AssociateTabWidget(TextEditTabWidget* tab) { m_text_page_ = nullptr; m_tab_widget_ = tab; connect(tab, &QTabWidget::tabBarClicked, this, &InfoBoardWidget::SlotReset); |