diff options
author | saturneric <[email protected]> | 2023-02-04 06:02:49 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-02-04 06:02:49 +0000 |
commit | 8c2e8e37505058bb2448ba65021f616ca658927b (patch) | |
tree | 919b0124932a5ee7dce940595c46f087f2d763cc /src/ui/widgets/TextEdit.h | |
parent | fix: solve some issues (diff) | |
download | GpgFrontend-8c2e8e37505058bb2448ba65021f616ca658927b.tar.gz GpgFrontend-8c2e8e37505058bb2448ba65021f616ca658927b.zip |
fix: solve open file issue in menu bar
1. add flush policy for logger
2. seperate the name of each logger
3. replace the old open file logic with the new one when click the button on the menu bar
Diffstat (limited to 'src/ui/widgets/TextEdit.h')
-rw-r--r-- | src/ui/widgets/TextEdit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/TextEdit.h b/src/ui/widgets/TextEdit.h index cb32bfb2..6398cf34 100644 --- a/src/ui/widgets/TextEdit.h +++ b/src/ui/widgets/TextEdit.h @@ -153,7 +153,7 @@ class TextEdit : public QWidget { /** * @details Adds a new tab with opening file by path */ - void SlotOpenFile(QString& path); + void SlotOpenFile(const QString& path); /** * @details Adds a new tab with the given title and opens given html file. |