From: Alberto Villa Date: Thu, 20 May 2010 08:41:34 +0000 (+0000) Subject: - Fix whitespace and syntax. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c15695f209011542589e31120a525aa8114a4229;p=kdenlive - Fix whitespace and syntax. svn path=/trunk/kdenlive/; revision=4459 --- diff --git a/src/trackview.cpp b/src/trackview.cpp index a2f2de4e..969d5aec 100644 --- a/src/trackview.cpp +++ b/src/trackview.cpp @@ -430,8 +430,8 @@ void TrackView::parseDocument(QDomDocument doc) ct++; backupFile = baseFile + "_backup" + QString::number(ct) + ".kdenlive"; } - if (KIO::NetAccess::file_copy(m_doc->url(), KUrl(backupFile), this)) KMessageBox::information(this, i18n("Your project file was upgraded to the latest Kdenlive document version.\n To make sure you don't lose data, a backup copy called %1 was created.", backupFile)); - else KMessageBox::information(this, i18n("Your project file was upgraded to the latest Kdenlive document version, it was not possible to create a backup copy.", backupFile)); + if (KIO::NetAccess::file_copy(m_doc->url(), KUrl(backupFile), this)) KMessageBox::information(this, i18n("Your project file was upgraded to the latest Kdenlive document version.\nTo make sure you don't lose data, a backup copy called %1 was created.", backupFile)); + else KMessageBox::information(this, i18n("Your project file was upgraded to the latest Kdenlive document version, but it was not possible to create a backup copy.", backupFile)); } //m_trackview->setCursorPos(cursorPos); //m_scrollBox->setGeometry(0, 0, 300 * zoomFactor(), m_scrollArea->height());