Fix unintended rename of bookmark*, mark*

pull/1/head
Slávek Banko 12 years ago
parent ea74b63ffc
commit e84bf5dc59

@ -290,7 +290,7 @@ void KSayItApp::slotChangeBookmarkFilename(const TQString &newname)
if ( newbkFile.isNull() )
return;
// copy old bookmartdefile to new file
// copy old bookmarkfile to new file
if ( m_currentBookmarkFile != newbkFile ){
if ( TQFile::exists(m_currentBookmarkFile) ){
TQString command = TQString("cp %1 %2").arg(m_currentBookmarkFile).arg(newbkFile);

@ -310,7 +310,7 @@ private: // Methods
void setActions(int actions);
/**
* Returns the absolute pathname of the given bookmartdefile.
* Returns the absolute pathname of the given bookmarkfile.
* This is the first KDE resource directory \p (share/apps) in which
* the user has write permissions. The relative path is
* \p ksayit/ksayit_bookmarks/.

Loading…
Cancel
Save