diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-16 11:30:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-09 21:06:22 +0900 |
| commit | caf01321779aee7b959c29a74f15fdc23a81c527 (patch) | |
| tree | d63baeb7a8bb39899db1eee077ab71df37149f9e /src/imageedit/sq_converter.cpp | |
| parent | 37453a729671f7c92987a3cce03cf540de067f9c (diff) | |
| download | ksquirrel-caf01321.tar.gz ksquirrel-caf01321.zip | |
Fix bad code, this was highlighted when building with cmake and ninja
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 591ce28f0128f324165b19f6ff653d158711614b)
Diffstat (limited to 'src/imageedit/sq_converter.cpp')
| -rw-r--r-- | src/imageedit/sq_converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imageedit/sq_converter.cpp b/src/imageedit/sq_converter.cpp index 04ab3aa..74075df 100644 --- a/src/imageedit/sq_converter.cpp +++ b/src/imageedit/sq_converter.cpp @@ -111,7 +111,7 @@ TQString SQ_Converter::adjustFileName(const TQString &globalprefix, const TQStri prefix.truncate(name2.length() - ext.length()); suffix = (SQ_LibraryHandler::instance()->knownExtension(TQString::fromLatin1("*.") + ext)) - ? TQString(lw->codec->extension(32)) : ext; + ? TQString(lw->codec->extension(32).c_str()) : ext; if(replace == 0 || replace == 2) result = (!paged) ? (prefix + inner + suffix) : (prefix + spage + inner + suffix); |
