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 46a81450..d7b7872a 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().replace(" ", "") + ".kvtml"; + fileName = KGlobal::dirs()->saveLocation("data", "kanagram/data/" + KanagramSettings::dataLanguage()) + txtVocabName->text().lower().tqreplace(" ", "") + ".kvtml"; } else { @@ -102,7 +102,7 @@ void VocabEdit::slotSave() } doc->saveAs(this, KURL(fileName), KEduVocDocument::automatic, "kanagram"); - VocabSettings *settings = (VocabSettings*)this->parentWidget(); + VocabSettings *settings = (VocabSettings*)this->tqparentWidget(); settings->refreshView(); if(m_textChanged) |