[KPhotoAlbum] Fix for compile error in RemoteConnection.cpp

Robert Krawitz rlk at alum.mit.edu
Thu Jun 14 13:10:19 BST 2018


Don't know that this is the correct fix for versions of Qt prior to
5.11, so I'm not just blindly pushing it.

diff --git a/RemoteControl/RemoteConnection.cpp b/RemoteControl/RemoteConnection.cpp
index 1dacb727..48c91689 100644
--- a/RemoteControl/RemoteConnection.cpp
+++ b/RemoteControl/RemoteConnection.cpp
@@ -105,7 +105,7 @@ void RemoteConnection::dataReceived()
             std::unique_ptr<RemoteCommand> command = RemoteCommand::create(static_cast<CommandType>(id));
             command->decode(stream);
             protocolDebug() << qPrintable(QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss.zzz")))
-                               << ": Received " << qPrintable(id);
+                            << ": Received " << qPrintable(QString(id));
 
             emit gotCommand(*command);
         }


-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list