String Update + added new Dialog
This commit is contained in:
parent
885045d4fd
commit
3a00e9b5b0
15 changed files with 420 additions and 287 deletions
|
@ -35,10 +35,21 @@ SavegameDialog::SavegameDialog(QWidget *parent) :
|
|||
ui->cmdClose->setFocus();
|
||||
savegameLabStr = ui->labSavegameText->text();
|
||||
|
||||
// Set Icon for Close Button
|
||||
if (QIcon::hasThemeIcon("dialog-close"))
|
||||
{
|
||||
ui->cmdClose->setIcon(QIcon::fromTheme("dialog-close"));
|
||||
}
|
||||
else if (QIcon::hasThemeIcon("gtk-close"))
|
||||
{
|
||||
ui->cmdClose->setIcon(QIcon::fromTheme("gtk-close"));
|
||||
}
|
||||
|
||||
// Set Icon for Export Button
|
||||
if (QIcon::hasThemeIcon("document-export"))
|
||||
{
|
||||
ui->cmdCopy->setIcon(QIcon::fromTheme("document-export"));
|
||||
}
|
||||
|
||||
refreshWindowSize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue