Commit 842f3d34 authored by Volker Krause's avatar Volker Krause
Browse files

Only show the encouragement message once

parent 67d4f440
......@@ -217,6 +217,9 @@ void ProviderPrivate::selectSurvey(const SurveyInfo &survey) const
void ProviderPrivate::scheduleEncouragement()
{
encouragementTimer.stop();
if (encouragementDisplayed)
return;
if (encouragementStarts < 0 && encouragementTime < 0) // encouragement disabled
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment