diff options
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. |