diff options
author | Slávek Banko <[email protected]> | 2021-03-07 20:24:08 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-03-12 00:35:39 +0100 |
commit | 369d8455ac39aa9f5328b855bd5f456e3f384a63 (patch) | |
tree | ea0e74835bcc4c1ca9245316ffebf9a439828dd3 /kimagemapeditor | |
parent | eea71ca9ecdfbd4682054a86cc9bbf954af94693 (diff) | |
download | tdewebdev-369d8455ac39aa9f5328b855bd5f456e3f384a63.tar.gz tdewebdev-369d8455ac39aa9f5328b855bd5f456e3f384a63.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 70defe5e6d9498c5c6011eee50c4dc506abebd61)
Diffstat (limited to 'kimagemapeditor')
-rw-r--r-- | kimagemapeditor/kimagemapeditor.cpp | 2 | ||||
-rw-r--r-- | kimagemapeditor/kimeshell.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp index 804e67ae..1d9eeba7 100644 --- a/kimagemapeditor/kimagemapeditor.cpp +++ b/kimagemapeditor/kimagemapeditor.cpp @@ -1529,7 +1529,7 @@ void KImageMapEditor::mapEditName() void KImageMapEditor::mapShowHTML() { - KDialogBase *dialog= new KDialogBase(widget(),TQString(),true,i18n("HTML Code of Map"),KDialogBase::Ok); + KDialogBase *dialog= new KDialogBase(widget(), "", true, i18n("HTML Code of Map"), KDialogBase::Ok); TQMultiLineEdit *edit = new TQMultiLineEdit(dialog); edit->setText(getHtmlCode()); diff --git a/kimagemapeditor/kimeshell.cpp b/kimagemapeditor/kimeshell.cpp index 942320ef..b04ba886 100644 --- a/kimagemapeditor/kimeshell.cpp +++ b/kimagemapeditor/kimeshell.cpp @@ -91,7 +91,7 @@ KimeShell::~KimeShell() bool KimeShell::queryClose() { if (_stdout) { - std::cout << m_part->getHtmlCode() << std::endl; + std::cout << m_part->getHtmlCode().local8Bit() << std::endl; } return m_part->queryClose(); |