diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-09-11 13:05:40 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-09-11 13:05:40 +0200 |
commit | 6597866ead7a3eb03cfcbbd99b547de1bb72867e (patch) | |
tree | be13b1876e5bbd04ae32cf85d4b063c2f628e009 /lib/settings.cpp | |
parent | 4babd9b2f1ba1d8c8c58c2f728cc4875ecf144c7 (diff) | |
download | libquotient-6597866ead7a3eb03cfcbbd99b547de1bb72867e.tar.gz libquotient-6597866ead7a3eb03cfcbbd99b547de1bb72867e.zip |
Further tweaks to MxcReply
- QNetworkReply::isSequential() already returns `true`, there's no need
to overload it again.
- Use `Q_SLOTS` instead of `slots` because it's an external library
interface and clients may use other libraries using `slots` identifier;
- Use `emit` instead of `Q_EMIT` because this is a part of internal
implementation and if we ever use a library that has an `emit`
identifier, a massive search-replace will be in order anyway.
- Use `QMetaObject::invokeMethod()` with a queued connection as
a clearer way to achieve the same goal as `QTimer::singleShot(0, ...)`.
Diffstat (limited to 'lib/settings.cpp')
0 files changed, 0 insertions, 0 deletions