diff options
author | saturneric <[email protected]> | 2025-05-01 19:20:05 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-05-01 19:20:05 +0000 |
commit | be4cb8e0f9ab4cd1e41979de8809b04211c116f3 (patch) | |
tree | fc938a4d72ed9c9e4a5effeed8548265c2bfd4c5 /src/ui/widgets/FileTreeView.h | |
parent | fix: windeployqt call in release workflow (diff) | |
download | GpgFrontend-be4cb8e0f9ab4cd1e41979de8809b04211c116f3.tar.gz GpgFrontend-be4cb8e0f9ab4cd1e41979de8809b04211c116f3.zip |
This change refactors the FilePage widget to directly embed a FileTreeView instance.
It improves code structure by removing the separate layout management and simplifies signal connections.
Also, changes some log level from Error to Debug.
Diffstat (limited to 'src/ui/widgets/FileTreeView.h')
-rw-r--r-- | src/ui/widgets/FileTreeView.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/widgets/FileTreeView.h b/src/ui/widgets/FileTreeView.h index 333e06bc..e7ddb607 100644 --- a/src/ui/widgets/FileTreeView.h +++ b/src/ui/widgets/FileTreeView.h @@ -41,7 +41,11 @@ class FileTreeView : public QTreeView { * @param parent * @param target_path */ - explicit FileTreeView(QWidget* parent, const QString& target_path); + explicit FileTreeView(QWidget* parent); + + /** + */ + void SetPath(const QString& target_path); /** * @brief Get the Current Path object |