summaryrefslogtreecommitdiffstats
path: root/src/controls/qtmenuitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/qtmenuitem.cpp')
-rw-r--r--src/controls/qtmenuitem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/qtmenuitem.cpp b/src/controls/qtmenuitem.cpp
index 245303449..2afd8f6d2 100644
--- a/src/controls/qtmenuitem.cpp
+++ b/src/controls/qtmenuitem.cpp
@@ -192,7 +192,7 @@ void QtMenuText::updateText()
platformItem()->setText(text());
syncWithPlatformMenu();
}
- emit textChanged();
+ emit __textChanged();
}
void QtMenuText::updateEnabled()
@@ -359,6 +359,8 @@ void QtMenuText::updateIcon()
QtMenuItem::QtMenuItem(QObject *parent)
: QtMenuText(parent), m_boundAction(0)
{
+ connect(this, SIGNAL(__textChanged()), this, SIGNAL(textChanged()));
+
connect(action(), SIGNAL(triggered()), this, SIGNAL(triggered()));
connect(action(), SIGNAL(toggled(bool)), this, SLOT(updateChecked()));
if (platformItem())