summaryrefslogtreecommitdiffstats
path: root/src/htmlexporter.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-04-07 02:21:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-10 12:18:18 +0200
commitef3976a6cb843f51333ea43172306a9c8f4954ef (patch)
tree032bda2a007070f9b572f78472c52c9a5f6ec538 /src/htmlexporter.cpp
parentd175607a268b6cc9dfeaeff1d0a38cf72201ad84 (diff)
downloadbasket-ef3976a6cb843f51333ea43172306a9c8f4954ef.tar.gz
basket-ef3976a6cb843f51333ea43172306a9c8f4954ef.zip
Added controlled conversions to char* instead of automatic ascii conversions.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/htmlexporter.cpp')
-rw-r--r--src/htmlexporter.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp
index ad9a555..c9fe762 100644
--- a/src/htmlexporter.cpp
+++ b/src/htmlexporter.cpp
@@ -157,18 +157,18 @@ void HTMLExporter::exportBasket(Basket *basket, bool isSubBasket)
imagesFolderName = (isSubBasket ? "../" : filesFolderName) + i18n("HTML export folder (images)", "images") + "/"; // eg.: "foo.html_files/images/" or "../images/"
std::cout << "Exporting ================================================" << std::endl;
- std::cout << " filePath:" << filePath << std::endl;
- std::cout << " basketFilePath:" << basketFilePath << std::endl;
- std::cout << " filesFolderPath:" << filesFolderPath << std::endl;
- std::cout << " filesFolderName:" << filesFolderName << std::endl;
- std::cout << " iconsFolderPath:" << iconsFolderPath << std::endl;
- std::cout << " iconsFolderName:" << iconsFolderName << std::endl;
- std::cout << " imagesFolderPath:" << imagesFolderPath << std::endl;
- std::cout << " imagesFolderName:" << imagesFolderName << std::endl;
- std::cout << " dataFolderPath:" << dataFolderPath << std::endl;
- std::cout << " dataFolderName:" << dataFolderName << std::endl;
- std::cout << " basketsFolderPath:" << basketsFolderPath << std::endl;
- std::cout << " basketsFolderName:" << basketsFolderName << std::endl;
+ std::cout << " filePath:" << filePath.local8Bit() << std::endl;
+ std::cout << " basketFilePath:" << basketFilePath.local8Bit() << std::endl;
+ std::cout << " filesFolderPath:" << filesFolderPath.local8Bit() << std::endl;
+ std::cout << " filesFolderName:" << filesFolderName.local8Bit() << std::endl;
+ std::cout << " iconsFolderPath:" << iconsFolderPath.local8Bit() << std::endl;
+ std::cout << " iconsFolderName:" << iconsFolderName.local8Bit() << std::endl;
+ std::cout << " imagesFolderPath:" << imagesFolderPath.local8Bit() << std::endl;
+ std::cout << " imagesFolderName:" << imagesFolderName.local8Bit() << std::endl;
+ std::cout << " dataFolderPath:" << dataFolderPath.local8Bit() << std::endl;
+ std::cout << " dataFolderName:" << dataFolderName.local8Bit() << std::endl;
+ std::cout << " basketsFolderPath:" << basketsFolderPath.local8Bit() << std::endl;
+ std::cout << " basketsFolderName:" << basketsFolderName.local8Bit() << std::endl;
// Create the data folder for this basket:
TQDir dir;