Dolphin integration: use system icons for labels in KDE

Cherry-picked from https://github.com/owncloud/client/pull/4252
This commit is contained in:
Grigorii Horos 2015-12-04 15:40:15 +02:00 committed by Olivier Goffart
parent 970cdcfdbb
commit 69d9840b89

View file

@ -64,13 +64,13 @@ private:
return r;
if (status.startsWith("OK"))
r << "ownCloud_ok";
r << "vcs-normal";
if (status.startsWith("SYNC") || status.startsWith("NEW"))
r << "ownCloud_sync";
r << "vcs-update-required";
if (status.startsWith("IGNORE") || status.startsWith("WARN"))
r << "ownCloud_warn";
r << "vcs-locally-modified-unstaged";
if (status.startsWith("ERROR"))
r << "ownCloud_error";
r << "vcs-conflicting";
if (status.contains("+SWM"))
r << "document-share";