diff options
Diffstat (limited to 'kanagram/src/vocabedit.cpp')
-rw-r--r-- | kanagram/src/vocabedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kanagram/src/vocabedit.cpp b/kanagram/src/vocabedit.cpp index d7b7872a..46a81450 100644 --- a/kanagram/src/vocabedit.cpp +++ b/kanagram/src/vocabedit.cpp @@ -94,7 +94,7 @@ void VocabEdit::slotSave() TQString fileName; if(m_fileName == "") { - fileName = KGlobal::dirs()->saveLocation("data", "kanagram/data/" + KanagramSettings::dataLanguage()) + txtVocabName->text().lower().tqreplace(" ", "") + ".kvtml"; + fileName = KGlobal::dirs()->saveLocation("data", "kanagram/data/" + KanagramSettings::dataLanguage()) + txtVocabName->text().lower().replace(" ", "") + ".kvtml"; } else { @@ -102,7 +102,7 @@ void VocabEdit::slotSave() } doc->saveAs(this, KURL(fileName), KEduVocDocument::automatic, "kanagram"); - VocabSettings *settings = (VocabSettings*)this->tqparentWidget(); + VocabSettings *settings = (VocabSettings*)this->parentWidget(); settings->refreshView(); if(m_textChanged) |