diff options
Diffstat (limited to 'src/plugins/cpaster/stickynotespasteprotocol.cpp')
-rw-r--r-- | src/plugins/cpaster/stickynotespasteprotocol.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/plugins/cpaster/stickynotespasteprotocol.cpp b/src/plugins/cpaster/stickynotespasteprotocol.cpp index 9c8ad232eb..c4924a70c8 100644 --- a/src/plugins/cpaster/stickynotespasteprotocol.cpp +++ b/src/plugins/cpaster/stickynotespasteprotocol.cpp @@ -97,16 +97,21 @@ static inline QByteArray pasteLanguage(Protocol::ContentType ct) return QByteArray("language=text"); } -void StickyNotesPasteProtocol::paste(const QString &text, - ContentType ct, int expiryDays, - const QString &username, - const QString &comment, - const QString &description) +void StickyNotesPasteProtocol::paste( + const QString &text, + ContentType ct, + int expiryDays, + bool publicPaste, + const QString &username, + const QString &comment, + const QString &description + ) { enum { maxDescriptionLength = 30 }; // Length of description is limited. Q_UNUSED(username) Q_UNUSED(comment) + Q_UNUSED(publicPaste) QTC_ASSERT(!m_pasteReply, return); // Format body |