Changeset View
Changeset View
Standalone View
Standalone View
src/core/kexisharedactionhost.cpp
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 153 | if (p && p->isSupported(a->objectName())) { | |||
---|---|---|---|---|---|
158 | } | 158 | } | ||
159 | } else { | 159 | } else { | ||
160 | if (va->plugged) { | 160 | if (va->plugged) { | ||
161 | va->plugged = false; | 161 | va->plugged = false; | ||
162 | } | 162 | } | ||
163 | } | 163 | } | ||
164 | } | 164 | } | ||
165 | a->setEnabled(avail); | 165 | a->setEnabled(avail); | ||
166 | //qDebug() << "Action " << a->name() << (avail ? " enabled." : " disabled."); | 166 | //qDebug() << "Action" << a->name() << (avail ? "enabled." : "disabled."); | ||
167 | } | 167 | } | ||
168 | } | 168 | } | ||
169 | 169 | | |||
170 | KexiActionProxy* KexiSharedActionHost::actionProxyFor(QObject *o) const | 170 | KexiActionProxy* KexiSharedActionHost::actionProxyFor(QObject *o) const | ||
171 | { | 171 | { | ||
172 | return d->actionProxies.value(o); | 172 | return d->actionProxies.value(o); | ||
173 | } | 173 | } | ||
174 | 174 | | |||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |