This commit is contained in:
Eike Hein 2013-09-11 18:35:14 +02:00
parent 21c0f9e6df
commit e95c4b8550

View File

@ -179,10 +179,8 @@ void WallpaperInterface::setAction(const QString &name, const QString &text, con
if (action) {
action->setText(text);
} else {
action = new QAction(text, this);
m_actions->addAction(name, action);
Q_ASSERT(!m_actions->action(name));
action = new QAction(text, this);
m_actions->addAction(name, action);
if (!m_actionSignals) {