Add iconUrl role to deviceTypesModel
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include "iconutils.h"
|
||||
|
||||
QUrl getIconUrl(QStringView name)
|
||||
{
|
||||
return QUrl{QString{"qrc:/scheincommander/icons/%0.png"}.arg(name)};
|
||||
}
|
||||
Reference in New Issue
Block a user