From ef3976a6cb843f51333ea43172306a9c8f4954ef Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Tue, 7 Apr 2020 02:21:44 +0200 Subject: Added controlled conversions to char* instead of automatic ascii conversions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/tag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag.cpp') diff --git a/src/tag.cpp b/src/tag.cpp index 429b5fa..b128bb7 100644 --- a/src/tag.cpp +++ b/src/tag.cpp @@ -227,7 +227,7 @@ Tag::Tag() static int tagNumber = 0; ++tagNumber; TQString sAction = "tag_shortcut_number_" + TQString::number(tagNumber); - m_action = new TDEAction("FAKE TEXT", "FAKE ICON", TDEShortcut(), TQT_TQOBJECT(Global::bnpView), TQT_SLOT(activatedTagShortcut()), Global::bnpView->actionCollection(), sAction); + m_action = new TDEAction("FAKE TEXT", "FAKE ICON", TDEShortcut(), TQT_TQOBJECT(Global::bnpView), TQT_SLOT(activatedTagShortcut()), Global::bnpView->actionCollection(), sAction.utf8()); m_action->setShortcutConfigurable(false); // We do it in the tag properties dialog m_inheritedBySiblings = false; -- cgit v1.2.3