Commit 35608def authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 383380 - Duplicate overwrite warning when exporting feeds

FIXED-IN: 5.6.1
BUG: 383380
parent ca2e81ee
......@@ -583,15 +583,6 @@ void Part::exportFile(const QUrl &url)
if (url.isLocalFile()) {
const QString fname = url.toLocalFile();
if (QFileInfo::exists(fname)
&& KMessageBox::questionYesNo(m_mainWidget,
i18n("The file %1 already exists; do you want to overwrite it?", fname),
KStandardGuiItem::cancel()) == KMessageBox::No) {
if (!writeToTextFile(m_mainWidget->feedListToOPML().toString(), fname)) {
KMessageBox::error(m_mainWidget, i18n("Access denied: cannot write to file %1. Please check your permissions.", fname), i18n("Write Error"));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment