Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
System
KSystemLog
Commits
15ec82ff
Commit
15ec82ff
authored
Aug 04, 2020
by
Jonathan Riddell
🏄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compile with Qt < 5.15
parent
41d6bda0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/modes/journald/journaldNetworkAnalyzer.cpp
src/modes/journald/journaldNetworkAnalyzer.cpp
+4
-0
No files found.
src/modes/journald/journaldNetworkAnalyzer.cpp
View file @
15ec82ff
...
...
@@ -287,7 +287,11 @@ void JournaldNetworkAnalyzer::sendRequest(RequestType requestType)
m_reply
=
m_networkManager
.
get
(
request
);
connect
(
m_reply
,
&
QNetworkReply
::
finished
,
this
,
&
JournaldNetworkAnalyzer
::
httpFinished
);
connect
(
m_reply
,
&
QNetworkReply
::
readyRead
,
this
,
&
JournaldNetworkAnalyzer
::
httpReadyRead
);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect
(
m_reply
,
QOverload
<
QNetworkReply
::
NetworkError
>::
of
(
&
QNetworkReply
::
error
),
this
,
&
JournaldNetworkAnalyzer
::
httpError
);
#else
connect
(
m_reply
,
QOverload
<
QNetworkReply
::
NetworkError
>::
of
(
&
QNetworkReply
::
errorOccurred
),
this
,
&
JournaldNetworkAnalyzer
::
httpError
);
#endif
}
void
JournaldNetworkAnalyzer
::
updateStatus
(
const
QString
&
status
)
...
...
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