X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompressor.cpp;h=816f26c8519784b3ea147acf5fd11ef360753473;hb=2c8434f74c68194d56f2084f637419123e61d18b;hp=bef6dbbea4ebad33b502b856e73f31d532806bda;hpb=fcacaaf16551524c7ebb6114254d005274cc3d63;p=quassel.git diff --git a/src/common/compressor.cpp b/src/common/compressor.cpp index bef6dbbe..816f26c8 100644 --- a/src/common/compressor.cpp +++ b/src/common/compressor.cpp @@ -41,7 +41,7 @@ Compressor::Compressor(QTcpSocket *socket, Compressor::CompressionLevel level, Q if (!ok) { // something went wrong during initialization... but we can only emit an error after RemotePeer has connected its signal - QTimer::singleShot(0, this, SIGNAL(error())); + QTimer::singleShot(0, this, [this]() { emit error(); }); return; }