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:47:05 +0200
commitb51e232350d31b65a8cd055693c7869f0a896193 (patch)
treea92cf4251003376d27c8621bc5116dd980faf381 /src/htmlexporter.cpp
parent360e269df56279904ac6f2913e8f0c3f786aa8fb (diff)
downloadbasket-b51e232350d31b65a8cd055693c7869f0a896193.tar.gz
basket-b51e232350d31b65a8cd055693c7869f0a896193.zip
Added controlled conversions to char* instead of automatic ascii conversions.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ef3976a6cb843f51333ea43172306a9c8f4954ef)
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;