++sense;
This commit is contained in:
parent
21c0f9e6df
commit
e95c4b8550
@ -179,10 +179,8 @@ void WallpaperInterface::setAction(const QString &name, const QString &text, con
|
|||||||
if (action) {
|
if (action) {
|
||||||
action->setText(text);
|
action->setText(text);
|
||||||
} else {
|
} else {
|
||||||
action = new QAction(text, this);
|
|
||||||
m_actions->addAction(name, action);
|
|
||||||
|
|
||||||
Q_ASSERT(!m_actions->action(name));
|
Q_ASSERT(!m_actions->action(name));
|
||||||
|
action = new QAction(text, this);
|
||||||
m_actions->addAction(name, action);
|
m_actions->addAction(name, action);
|
||||||
|
|
||||||
if (!m_actionSignals) {
|
if (!m_actionSignals) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user