Index: src/document/katebuffer.cpp =================================================================== --- src/document/katebuffer.cpp +++ src/document/katebuffer.cpp @@ -184,7 +184,6 @@ // remember error m_doc->m_openingError = true; - m_doc->m_openingErrorMessage = i18n("The file %1 does not exist.", m_doc->url().toString()); return true; } Index: src/document/katedocument.cpp =================================================================== --- src/document/katedocument.cpp +++ src/document/katedocument.cpp @@ -2208,7 +2208,6 @@ // remember error m_openingError = true; - m_openingErrorMessage = i18n("The file %1 could not be loaded, as it was not possible to read from it.\n\nCheck if you have read access to this file.", this->url().toDisplayString(QUrl::PreferLocalFile)); } //END: error @@ -2334,9 +2333,6 @@ // remember error m_openingError = true; - m_openingErrorMessage = i18n("The file %1 was opened with %2 encoding but contained invalid characters." - " It is set to read-only mode, as saving might destroy its content." - " Either reopen the file with the correct encoding chosen or enable the read-write mode again in the tools menu to be able to edit it.", this->url().toDisplayString(QUrl::PreferLocalFile), QString::fromLatin1(m_buffer->textCodec()->name())); } // warn: too long lines @@ -2359,9 +2355,6 @@ // remember error m_openingError = true; - m_openingErrorMessage = i18n("The file %1 was opened and contained lines longer than the configured Line Length Limit (%2 characters).
" - "The longest of those lines was %3 characters long
" - "Those lines were wrapped and the document is set to read-only mode, as saving will modify its content.", this->url().toDisplayString(QUrl::PreferLocalFile), config()->lineLengthLimit(),m_buffer->longestLineLoaded()); } //