Remove redundant RiuGuiTheme::update.. that causes crash on console

This commit is contained in:
Gaute Lindkvist
2020-10-01 13:20:17 +02:00
parent 135ca97ba4
commit 16f1204578

View File

@@ -1224,8 +1224,6 @@ void RiaApplication::applyPreferences()
m_defaultAnnotationFont = RiaFontCache::getFont( fontSizes[RiaDefines::FontSettingType::ANNOTATION_FONT] );
m_defaultWellLabelFont = RiaFontCache::getFont( fontSizes[RiaDefines::FontSettingType::WELL_LABEL_FONT] );
RiuGuiTheme::updateGuiTheme( m_preferences->guiTheme() );
if ( this->project() )
{
this->project()->setScriptDirectories( m_preferences->scriptDirectories() );