[Pkg-owncloud-commits] [owncloud-client] 19/175: ProtocolWidget: Fix rename message. #3210
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Aug 8 10:36:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 909368025f513fa2d22b0ded7a296e4c14a6724c
Author: Christian Kamm <kamm at incasoftware.de>
Date: Thu May 7 14:10:28 2015 +0200
ProtocolWidget: Fix rename message. #3210
For remote renames that are replicated locally the _file member is
overwritten by the target file name when the new entry is added to
the metadata table. Using _originalFile here guarantees that
the affected local file is mentioned.
---
src/gui/protocolwidget.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/protocolwidget.cpp b/src/gui/protocolwidget.cpp
index 85e3f41..a42209b 100644
--- a/src/gui/protocolwidget.cpp
+++ b/src/gui/protocolwidget.cpp
@@ -206,7 +206,7 @@ QTreeWidgetItem* ProtocolWidget::createCompletedTreewidgetItem(const QString& fo
const QString longTimeStr = timeString(timestamp, QLocale::LongFormat);
columns << timeStr;
- columns << fixupFilename(item._file);
+ columns << fixupFilename(item._originalFile);
columns << folder;
// If the error string is set, it's prefered because it is a useful user message.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list