enforce security.
from now on, unsafe widgets won't show up in the screensaver's appletbrowser. svn path=/trunk/KDE/kdelibs/; revision=986809
This commit is contained in:
parent
a2cd3cdeec
commit
fbb9239dda
@ -1784,10 +1784,9 @@ KPluginInfo::List Applet::listAppletInfo(const QString &category,
|
||||
//this isn't actually implemented in any bindings yet but should be possible for
|
||||
//anything but c++
|
||||
}
|
||||
//TODO 4.3 be very strict about what we accept
|
||||
//if (!(reqValue == "Optional" || reqValue == "Unused")) {
|
||||
//for testing purposes I'm being lax right now
|
||||
if (reqValue == "Required") {
|
||||
|
||||
if (!(reqValue == "Optional" || reqValue == "Unused")) {
|
||||
//if (reqValue == "Required") {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user