Icon fix
This commit is contained in:
parent
add51460a3
commit
e9511cd3eb
3 changed files with 16 additions and 0 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue