themes: move rounded corners to theme section

This commit is contained in:
2019-02-11 11:14:12 +01:00
parent 92eef239ef
commit 289e167462
14 changed files with 35 additions and 17 deletions

View File

@@ -1349,7 +1349,7 @@ void CMenuWidget::initSelectable()
void CMenuWidget::paint()
{
if (header){
if ((bool)header->getCornerRadius() != (bool)g_settings.rounded_corners) //ensure reset if corner mode was changed
if ((bool)header->getCornerRadius() != (bool)g_settings.theme.rounded_corners) //ensure reset if corner mode was changed
ResetModules();
}