summaryrefslogtreecommitdiffstats
path: root/src/tag.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-04-07 02:21:44 +0200
committerSlávek Banko <[email protected]>2020-04-10 12:47:05 +0200
commitb51e232350d31b65a8cd055693c7869f0a896193 (patch)
treea92cf4251003376d27c8621bc5116dd980faf381 /src/tag.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 <[email protected]> (cherry picked from commit ef3976a6cb843f51333ea43172306a9c8f4954ef)
Diffstat (limited to 'src/tag.cpp')
-rw-r--r--src/tag.cpp2
1 files changed, 1 insertions, 1 deletions
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;