diff options
author | saturneric <[email protected]> | 2024-01-19 12:10:17 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-19 12:10:17 +0000 |
commit | f22ceca734868a4cb946c232f661aad72da01ded (patch) | |
tree | 5d858753ca06a8dfed12a92f4762e579900cfb1f /src/ui/widgets/FileTreeView.h | |
parent | fix: slove discovered bugs (diff) | |
download | GpgFrontend-f22ceca734868a4cb946c232f661aad72da01ded.tar.gz GpgFrontend-f22ceca734868a4cb946c232f661aad72da01ded.zip |
fix: slove discovered faults and bugs
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/FileTreeView.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/widgets/FileTreeView.h b/src/ui/widgets/FileTreeView.h index 5d013ae4..9e9b03dd 100644 --- a/src/ui/widgets/FileTreeView.h +++ b/src/ui/widgets/FileTreeView.h @@ -40,14 +40,14 @@ class FileTreeView : public QTreeView { * * @return std::filesystem::path */ - auto GetCurrentPath() -> std::filesystem::path; + auto GetCurrentPath() -> QString; /** * @brief Get the Selected Path object * * @return std::filesystem::path */ - auto GetSelectedPath() -> std::filesystem::path; + auto GetSelectedPath() -> QString; /** * @brief Get the Path By Click Point object @@ -55,7 +55,7 @@ class FileTreeView : public QTreeView { * @param point * @return std::filesystem::path */ - auto GetPathByClickPoint(const QPoint& point) -> std::filesystem::path; + auto GetPathByClickPoint(const QPoint& point) -> QString; /** * @brief Get the Mouse Point Global object @@ -115,7 +115,7 @@ class FileTreeView : public QTreeView { * @brief * */ - void SlotGoPath(const std::filesystem::path&); + void SlotGoPath(const QString&); /** * @brief @@ -213,9 +213,9 @@ class FileTreeView : public QTreeView { void slot_create_popup_menu(); private: - QFileSystemModel* dir_model_; ///< - std::filesystem::path current_path_; ///< - std::filesystem::path selected_path_; ///< + QFileSystemModel* dir_model_; ///< + QString current_path_; ///< + QString selected_path_; ///< QMenu* popup_menu_; QAction* action_open_file_; |