fixed a crash condition where blip rate is less than 1

This commit is contained in:
David Skoland 2019-01-02 22:28:16 +01:00
parent ec1057b5d7
commit 0788b162f1

View File

@ -9,6 +9,10 @@ QString AOApplication::read_theme()
int AOApplication::read_blip_rate()
{
int result = configini->value("blip_rate", 1).toInt();
if (result < 1)
return 1;
return result;
}