diff options
author | saturneric <[email protected]> | 2024-01-01 09:15:25 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-01 09:15:25 +0000 |
commit | 1cdba285be9bebd9b793fc6ae0369d201a0e713b (patch) | |
tree | 6f38e86b19044ba9ecbe9a520e150dd49cb992a8 /src/ui/widgets/TextEdit.cpp | |
parent | feat: fully test basical operations of archive and file (diff) | |
download | GpgFrontend-1cdba285be9bebd9b793fc6ae0369d201a0e713b.tar.gz GpgFrontend-1cdba285be9bebd9b793fc6ae0369d201a0e713b.zip |
feat: improve file browser's functions and tidy up codes
Diffstat (limited to 'src/ui/widgets/TextEdit.cpp')
-rw-r--r-- | src/ui/widgets/TextEdit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/widgets/TextEdit.cpp b/src/ui/widgets/TextEdit.cpp index 24a2bd27..5ec44230 100644 --- a/src/ui/widgets/TextEdit.cpp +++ b/src/ui/widgets/TextEdit.cpp @@ -118,7 +118,8 @@ void TextEdit::SlotNewFileTab() const { void TextEdit::SlotOpenFile(const QString& path) { QFile file(path); - SPDLOG_DEBUG("path: {}", path.toStdString()); + SPDLOG_DEBUG("main window editor is opening file at path: {}", + path.toStdString()); auto result = file.open(QIODevice::ReadOnly | QIODevice::Text); if (result) { auto* page = new PlainTextEditorPage(path); |