--- a/src/hbcore/gui/hbdialog.cpp Fri Sep 17 08:32:10 2010 +0300
+++ b/src/hbcore/gui/hbdialog.cpp Mon Oct 04 00:38:12 2010 +0300
@@ -505,6 +505,9 @@
void HbDialog::setPrimaryAction(HbAction *action)
{
HB_DEPRECATED("HbDialog::setPrimaryAction(HbAction *action) is deprecated. Use QGraphicsWidget action api instead");
+ /* HbDialog::setPrimaryAction deprecation action coloring - begin */
+ action->setProperty("invalid_addition", true);
+ /* HbDialog::setPrimaryAction deprecation action coloring - end */
Q_D(HbDialog);
if (d->primaryAction && action != d->primaryAction) {
removeAction(d->primaryAction);
@@ -541,6 +544,9 @@
void HbDialog::setSecondaryAction(HbAction *action)
{
HB_DEPRECATED("HbDialog::setSecondaryAction(HbAction *action) is deprecated. Use QGraphicsWidget action api instead");
+ /* HbDialog::setPrimaryAction deprecation action coloring - begin */
+ action->setProperty("invalid_addition", true);
+ /* HbDialog::setPrimaryAction deprecation action coloring - end */
Q_D(HbDialog);
if (d->secondaryAction && action != d->secondaryAction) {
removeAction(d->secondaryAction);