diff --git a/src/Editor/ResourceBrowser/CResourceBrowser.cpp b/src/Editor/ResourceBrowser/CResourceBrowser.cpp index 7a9c2708..b0e208e1 100644 --- a/src/Editor/ResourceBrowser/CResourceBrowser.cpp +++ b/src/Editor/ResourceBrowser/CResourceBrowser.cpp @@ -137,7 +137,10 @@ CResourceBrowser::CResourceBrowser(QWidget *pParent) #endif // Resize splitter - mpUI->splitter->setSizes( QList() << width() * 0.4 << width() * 0.6 ); + mpUI->splitter->setSizes({ + static_cast(width() * 0.4), + static_cast(width() * 0.6), + }); // Create context menu for the resource table new CResourceTableContextMenu(this, mpUI->ResourceTableView, mpModel, mpProxyModel);