Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
9069b147
Commit
9069b147
authored
Jun 17, 2014
by
Pietro Cerutti
Committed by
Jan-Erik Rediger
Jul 27, 2015
Browse files
Fix typo
parent
1984b309
Changes
1
Hide whitespace changes
Inline
Side-by-side
adapters/qt.h
View file @
9069b147
...
@@ -87,7 +87,7 @@ class RedisQtAdapter : public QObject {
...
@@ -87,7 +87,7 @@ class RedisQtAdapter : public QObject {
private:
private:
void
addRead
()
{
void
addRead
()
{
if
(
m_read
)
return
;
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
()));
connect
(
m_read
,
SIGNAL
(
activated
(
int
)),
this
,
SLOT
(
read
()));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment