This commit is contained in:
Syping 2018-01-24 16:26:54 +01:00
parent add51460a3
commit e9511cd3eb
3 changed files with 16 additions and 0 deletions

View file

@ -94,6 +94,10 @@ ProfileInterface::ProfileInterface(ProfileDatabase *profileDB, CrewDatabase *cre
{
ui->cmdImport->setIcon(QIcon::fromTheme("document-import"));
}
else if (QIcon::hasThemeIcon("document-open"))
{
ui->cmdImport->setIcon(QIcon::fromTheme("document-open"));
}
// DPI calculation
qreal screenRatio = AppEnv::screenRatio();