summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/NameSetEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/NameSetEditor.cpp')
-rw-r--r--src/gui/studio/NameSetEditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/studio/NameSetEditor.cpp b/src/gui/studio/NameSetEditor.cpp
index a4e9b97..d7917bf 100644
--- a/src/gui/studio/NameSetEditor.cpp
+++ b/src/gui/studio/NameSetEditor.cpp
@@ -118,7 +118,7 @@ NameSetEditor::NameSetEditor(BankEditorDialog* bankEditor,
if (showEntryButtons) {
- TQPushButton *button = new TQPushButton("", numBox, numberText);
+ TQPushButton *button = new TQPushButton("", numBox, numberText.ascii());
button->setMaximumWidth(40);
button->setMaximumHeight(20);
button->setFlat(true);
@@ -127,7 +127,7 @@ NameSetEditor::NameSetEditor(BankEditorDialog* bankEditor,
m_entryButtons.push_back(button);
}
- KLineEdit* lineEdit = new KLineEdit(numBox, numberText);
+ KLineEdit* lineEdit = new KLineEdit(numBox, numberText.ascii());
lineEdit->setMinimumWidth(110);
lineEdit->setCompletionMode(KGlobalSettings::CompletionAuto);
lineEdit->setCompletionObject(&m_completion);