summaryrefslogtreecommitdiff
path: root/adapters
diff options
context:
space:
mode:
Diffstat (limited to 'adapters')
-rw-r--r--adapters/qt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/qt.h b/adapters/qt.h
index 9c801db..d216ad7 100644
--- a/adapters/qt.h
+++ b/adapters/qt.h
@@ -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()));
}