1

I am facing a strange problem regarding SystemDialog. I need to omit confirmButton & cancelButton from my dialog. And I put the following code to do so-

SystemUiButton *cancelButton = alertDialog->cancelButton();
cancelButton->setLabel(QString::null);
SystemUiButton *confirmButton = alertDialog->confirmButton();
confirmButton->setLabel(QString::null);

It's perfectly working in Z10. But in Q10 it's not working. My both device running on 10.1 Can you guys please put some feedback regarding this issue?

Thanks.

dipanjan
  • 85
  • 2
  • 11
  • I had a similar issue on 10.2 recently and it appears in 10.2 it just disabled the buttons and does not remove them. It looks like it's easier to just create a custom dialog instead of using the default systemdialog. You might have slightly different builds of 10.1 between your two devices which is why one works and the other doesn't. – hyarion Feb 13 '14 at 08:33

0 Answers0