mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kmail: show the dialog after setting which buttons to show
so that the buttons icon and text can be set before showing it (KDialog::setButtons() resets the buttons) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f90219b311
commit
ce3143a001
1 changed files with 1 additions and 1 deletions
|
@ -54,8 +54,8 @@ int main(int argc, char **argv) {
|
|||
|
||||
KApplication *kapplication = new KApplication();
|
||||
KEMailDialog kemaildialog;
|
||||
kemaildialog.show();
|
||||
kemaildialog.setButtons(KDialog::Ok | KDialog::Close | KDialog::Help);
|
||||
kemaildialog.show();
|
||||
KHelpMenu khelpmenu(&kemaildialog, &aboutData, true);
|
||||
kemaildialog.setButtonMenu(KDialog::Help, (QMenu*)khelpmenu.menu());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue