mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 17:15:01 +01:00
Kill timer only when needed.
This commit is contained in:
parent
781284f442
commit
79557e71e2
@ -305,7 +305,9 @@ void OAuth2Service::startRefreshTimer() {
|
||||
}
|
||||
|
||||
void OAuth2Service::killRefreshTimer() {
|
||||
killTimer(m_timerId);
|
||||
if (m_timerId > 0) {
|
||||
killTimer(m_timerId);
|
||||
}
|
||||
}
|
||||
|
||||
void OAuth2Service::retrieveAuthCode() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user