aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpaster/fileshareprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpaster/fileshareprotocol.cpp')
-rw-r--r--src/plugins/cpaster/fileshareprotocol.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/plugins/cpaster/fileshareprotocol.cpp b/src/plugins/cpaster/fileshareprotocol.cpp
index 3b821db4e3..937165a3f2 100644
--- a/src/plugins/cpaster/fileshareprotocol.cpp
+++ b/src/plugins/cpaster/fileshareprotocol.cpp
@@ -177,11 +177,15 @@ void FileShareProtocol::list()
emit listDone(name(), entries);
}
-void FileShareProtocol::paste(const QString &text,
- ContentType /* ct */, int /* expiryDays */,
- const QString &username,
- const QString & /* comment */,
- const QString &description)
+void FileShareProtocol::paste(
+ const QString &text,
+ ContentType /* ct */,
+ int /* expiryDays */,
+ bool /* publicPaste */,
+ const QString &username,
+ const QString & /* comment */,
+ const QString &description
+ )
{
// Write out temp XML file
Utils::TempFileSaver saver(m_settings->path + QLatin1Char('/') + QLatin1String(tempPatternC));