[Pkg-owncloud-commits] [owncloud-client] 383/484: Dolphin plugin: build with QStringBuilder
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:09 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 9e1f215f224b55a0d162833dd5fb800e37920769
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Sat Nov 21 12:14:03 2015 +0100
Dolphin plugin: build with QStringBuilder
---
shell_integration/dolphin/ownclouddolphinactionplugin.cpp | 2 +-
shell_integration/dolphin/ownclouddolphinoverlayplugin.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/shell_integration/dolphin/ownclouddolphinactionplugin.cpp b/shell_integration/dolphin/ownclouddolphinactionplugin.cpp
index f39e069..4788474 100644
--- a/shell_integration/dolphin/ownclouddolphinactionplugin.cpp
+++ b/shell_integration/dolphin/ownclouddolphinactionplugin.cpp
@@ -54,7 +54,7 @@ public:
auto act = new QAction(parentWidget);
act->setText(helper->shareActionString());
connect(act, &QAction::triggered, this, [localFile, helper] {
- helper->sendCommand("SHARE:"+localFile.toUtf8()+"\n");
+ helper->sendCommand(QByteArray("SHARE:"+localFile.toUtf8()+"\n"));
} );
return { act };
}
diff --git a/shell_integration/dolphin/ownclouddolphinoverlayplugin.cpp b/shell_integration/dolphin/ownclouddolphinoverlayplugin.cpp
index 9b4d7ba..fa0e58e 100644
--- a/shell_integration/dolphin/ownclouddolphinoverlayplugin.cpp
+++ b/shell_integration/dolphin/ownclouddolphinoverlayplugin.cpp
@@ -48,7 +48,7 @@ public:
return QStringList();
const QByteArray localFile = url.toLocalFile().toUtf8();
- helper->sendCommand("RETRIEVE_FILE_STATUS:" + localFile + "\n");
+ helper->sendCommand(QByteArray("RETRIEVE_FILE_STATUS:" + localFile + "\n"));
StatusMap::iterator it = m_status.find(localFile);
if (it != m_status.constEnd()) {
--
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