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();

View file

@ -50,6 +50,10 @@ SavegameDialog::SavegameDialog(QWidget *parent) :
{
ui->cmdCopy->setIcon(QIcon::fromTheme("document-export"));
}
else if (QIcon::hasThemeIcon("document-save"))
{
ui->cmdCopy->setIcon(QIcon::fromTheme("document-save"));
}
refreshWindowSize();
}

View file

@ -136,12 +136,20 @@ UserInterface::UserInterface(ProfileDatabase *profileDB, CrewDatabase *crewDB, D
{
ui->action_Import->setIcon(QIcon::fromTheme("document-import"));
}
else if (QIcon::hasThemeIcon("document-open"))
{
ui->action_Import->setIcon(QIcon::fromTheme("document-open"));
}
// Set Icon for Profile Export Menu Item
if (QIcon::hasThemeIcon("document-export"))
{
ui->actionExport_selected->setIcon(QIcon::fromTheme("document-export"));
}
else if (QIcon::hasThemeIcon("document-save"))
{
ui->actionExport_selected->setIcon(QIcon::fromTheme("document-save"));
}
// Set Icon for Profile Remove Menu Item
if (QIcon::hasThemeIcon("remove"))