From 00c81d9763b2df158ecd2bcccecb77b902f6962e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 26 May 2019 15:16:13 +0200 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tderesources/blogging/API_Blogger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tderesources/blogging') diff --git a/tderesources/blogging/API_Blogger.cpp b/tderesources/blogging/API_Blogger.cpp index 69a722e22..984cc378b 100644 --- a/tderesources/blogging/API_Blogger.cpp +++ b/tderesources/blogging/API_Blogger.cpp @@ -100,7 +100,7 @@ TDEIO::TransferJob *APIBlogger::createUploadJob( const KURL &url, KBlog::BlogPos kdDebug() << "Uploading Posting with url " << url.url() << endl; TQValueList args( defaultArgs( posting->postID() ) ); args << TQVariant( posting->content() ); - args << TQVariant( /*publish=*/true, 0 ); + args << TQVariant( /*publish=*/true ); return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerEditPost ), args, false ); // } else { // warningNotInitialized(); @@ -118,7 +118,7 @@ TDEIO::TransferJob *APIBlogger::createUploadNewJob( KBlog::BlogPosting *posting kdDebug() << "Creating new Posting with blogid " << posting->blogID() << " at url " << mServerURL << endl; TQValueList args( defaultArgs( posting->blogID() ) ); args << TQVariant( posting->content() ); - args << TQVariant( /*publish=*/true, 0 ); + args << TQVariant( /*publish=*/true ); return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerNewPost ), args, false ); // } else { // warningNotInitialized(); @@ -131,7 +131,7 @@ TDEIO::Job *APIBlogger::createRemoveJob( const KURL &/*url*/, const TQString &po kdDebug() << "APIBlogger::createRemoveJob: postid=" << postid << endl; // if ( isValid() ){ TQValueList args( defaultArgs( postid ) ); - args << TQVariant( /*publish=*/true, 0 ); + args << TQVariant( /*publish=*/true ); return TDEIO::xmlrpcCall( mServerURL, getFunctionName( bloggerDeletePost ), args, false ); // } else { // warningNotInitialized(); -- cgit v1.2.1