diff options
Diffstat (limited to 'src/basket.cpp')
-rw-r--r-- | src/basket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basket.cpp b/src/basket.cpp index 5355ff7..6e14c65 100644 --- a/src/basket.cpp +++ b/src/basket.cpp @@ -346,7 +346,7 @@ void debugZone(int zone) s = "Emblem0+" + TQString::number(zone - Note::Emblem0); break; } - std::cout << s << std::endl; + std::cout << s.local8Bit() << std::endl; } #define FOR_EACH_NOTE(noteVar) \ @@ -1357,7 +1357,7 @@ Basket::Basket(TQWidget *parent, const TQString &folderName) m_finishLoadOnFirstShow(false), m_relayoutOnNextShow(false) { TQString sAction = "local_basket_activate_" + folderName; - m_action = new TDEAction("FAKE TEXT", "FAKE ICON", TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(activatedShortcut()), Global::bnpView->actionCollection(), sAction); + m_action = new TDEAction("FAKE TEXT", "FAKE ICON", TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(activatedShortcut()), Global::bnpView->actionCollection(), sAction.utf8()); m_action->setShortcutConfigurable(false); // We do it in the basket properties dialog (and keep it in sync with the global one) if (!m_folderName.endsWith("/")) @@ -3954,7 +3954,7 @@ void debugSel(NoteSelection* sel, int n = 0) for (NoteSelection *node = sel; node; node = node->next) { for (int i = 0; i < n; i++) std::cout << "-"; - std::cout << (node->firstChild ? "Group" : node->note->content()->toText("")) << std::endl; + std::cout << (node->firstChild ? "Group" : node->note->content()->toText("").local8Bit()) << std::endl; if (node->firstChild) debugSel(node->firstChild, n+1); } |