This commit is contained in:
Pietro Cerutti 2014-06-17 19:39:20 +00:00 committed by Jan-Erik Rediger
parent 1984b309b8
commit 9069b147b0
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class RedisQtAdapter : public QObject {
private:
void addRead() {
if (m_read) return;
m_read = new QSocketNotifier(m_ctx->c.fd, QSocketNotifier::Read, 0),
m_read = new QSocketNotifier(m_ctx->c.fd, QSocketNotifier::Read, 0);
connect(m_read, SIGNAL(activated(int)), this, SLOT(read()));
}