use "Advanced" as button text for the details button

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105464
This commit is contained in:
Volker Lanz 2010-03-20 10:10:11 +00:00
parent 36dccf2c55
commit e3932ebf3f
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ SizeDialogBase::SizeDialogBase(QWidget* parent, Device& d, Partition& part, qint
showButtonSeparator(true);
setButtons(KDialog::Ok | KDialog::Cancel | KDialog::Details);
// Cannot use KGuiItem() for the details button due to a KDialog bug -- it has special handling
// for the details button text but not if using setButtonGuiItem
setButtonText(Details, i18nc("@item:button advanced settings button", "Advanced"));
setButtonIcon(Details, KIcon());
}
qint64 SizeDialogBase::minimumLength() const