X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Feditorwindow.cpp;fp=src%2Feditorwindow.cpp;h=4b32ca2f89d186f40e5bfb5207b25870fc8384e6;hb=83e7f7102a7d36ff5a3b1b6255d681b9644b6c65;hp=ab49a8c22642948a66e73d57d597324067d6a90c;hpb=6f13016fe0742df2abfbf4ee08b3a0f27211a993;p=warehouse-man-deluxe diff --git a/src/editorwindow.cpp b/src/editorwindow.cpp index ab49a8c..4b32ca2 100644 --- a/src/editorwindow.cpp +++ b/src/editorwindow.cpp @@ -106,7 +106,7 @@ void EditorWindow::SetEditorLevel(int level) void EditorWindow::SetNewName(QWidget * widget, QAbstractItemDelegate::EndEditHint) { QString newName = reinterpret_cast(widget)->text(); - editor->SetNameOnCurrentLevel(newName.toAscii().data()); + editor->SetNameOnCurrentLevel(newName.toUtf8().data()); }