diff options
author | saturneric <[email protected]> | 2024-07-29 19:29:56 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-29 19:29:56 +0000 |
commit | fa90ec4b5315b9e70a44a9625c143ce253f0e885 (patch) | |
tree | 8ffa82e33522de03974d6d0289aa831b4fd6ebdf /src/core/utils/CommonUtils.cpp | |
parent | fix: correct urls at appdata.xml (diff) | |
parent | Merge branch 'develop' of github.com:saturneric/GpgFrontend into develop (diff) | |
download | GpgFrontend-fa90ec4b5315b9e70a44a9625c143ce253f0e885.tar.gz GpgFrontend-fa90ec4b5315b9e70a44a9625c143ce253f0e885.zip |
Merge branch 'develop'
Diffstat (limited to 'src/core/utils/CommonUtils.cpp')
-rw-r--r-- | src/core/utils/CommonUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/utils/CommonUtils.cpp b/src/core/utils/CommonUtils.cpp index d1704312..941ea39f 100644 --- a/src/core/utils/CommonUtils.cpp +++ b/src/core/utils/CommonUtils.cpp @@ -82,13 +82,13 @@ auto GFStrDup(const QString& str) -> char* { return c_str; } -auto GPGFRONTEND_CORE_EXPORT GFUnStrDup(char* str) -> QString { +auto GFUnStrDup(char* str) -> QString { auto qt_str = QString::fromUtf8(str); SecureFree(static_cast<void*>(const_cast<char*>(str))); return qt_str; } -auto GPGFRONTEND_CORE_EXPORT GFUnStrDup(const char* str) -> QString { +auto GFUnStrDup(const char* str) -> QString { return GFUnStrDup(const_cast<char*>(str)); } |