mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 23:05:12 +03:00
Small code cleanup
This commit is contained in:
parent
fad6211789
commit
97de97c84e
17 changed files with 322 additions and 321 deletions
|
@ -1485,8 +1485,9 @@ QString getCenterBeep(ModelData * g_model)
|
|||
return strl.join(", ");
|
||||
}
|
||||
|
||||
void populate_icon(QIcon *Icon, QString usedtheme, QString baseimage)
|
||||
void populate_icon(QIcon *Icon, QString baseimage)
|
||||
{
|
||||
static QString usedtheme=getTheme();
|
||||
Icon->addFile(":/themes/"+usedtheme+"/16/"+baseimage,QSize(16,16));
|
||||
Icon->addFile(":/themes/"+usedtheme+"/24/"+baseimage,QSize(24,24));
|
||||
Icon->addFile(":/themes/"+usedtheme+"/32/"+baseimage,QSize(32,32));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue