diff options
author | Saturn&Eric <[email protected]> | 2021-07-19 20:13:05 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-19 20:13:05 +0000 |
commit | 837e9748bb6bc5b3255b0475b8bbb3106e061b9c (patch) | |
tree | 67acd04b79d0ce779fc2ade5bb3e43a872f660cd /src/ui/widgets/TextEdit.cpp | |
parent | Merge pull request #13 from saturneric/develop (diff) | |
parent | Add multi-language support. (diff) | |
download | GpgFrontend-1.2.2.tar.gz GpgFrontend-1.2.2.zip |
Merge pull request #14 from saturneric/developv1.2.2
Version 1.2.2
Diffstat (limited to 'src/ui/widgets/TextEdit.cpp')
-rw-r--r-- | src/ui/widgets/TextEdit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/TextEdit.cpp b/src/ui/widgets/TextEdit.cpp index c9968565..eab0f799 100644 --- a/src/ui/widgets/TextEdit.cpp +++ b/src/ui/widgets/TextEdit.cpp @@ -637,7 +637,7 @@ void TextEdit::slotFilePagePathChanged(const QString &path) { int index = tabWidget->currentIndex(); QString mPath; QFileInfo fileInfo(path); - QString tPath = fileInfo.path(); + QString tPath = fileInfo.absoluteFilePath(); if (path.size() > 18) { mPath = tPath.mid(tPath.size() - 18, 18).prepend("..."); } else { |