this was a hack, albeit a mildly useful one, but it's in the way now; need to find a better solution for the keyboard shortcuts madness (or just switch to qt 4.5)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872302
This commit is contained in:
parent
ed626e5869
commit
11536c679b
@ -1316,12 +1316,6 @@ void ContainmentPrivate::focusApplet(Plasma::Applet *applet)
|
||||
return;
|
||||
}
|
||||
|
||||
if (q->screen() == -1) {
|
||||
//what's the point of having focus if you're not on screen? :)
|
||||
//also, clicking a containment to switch to it makes the ZUI waay nicer.
|
||||
emit q->focusRequested(q);
|
||||
}
|
||||
|
||||
QList<QWidget *> widgets = actions().associatedWidgets();
|
||||
if (focusedApplet) {
|
||||
foreach (QWidget *w, widgets) {
|
||||
|
@ -367,12 +367,6 @@ class PLASMA_EXPORT Containment : public Applet
|
||||
*/
|
||||
void screenChanged(int wasScreen, int isScreen, Plasma::Containment *containment);
|
||||
|
||||
/**
|
||||
* Emitted when the containment wants to become active.
|
||||
* Usually only used for desktop containments.
|
||||
*/
|
||||
void focusRequested(Plasma::Containment *containment);
|
||||
|
||||
/**
|
||||
* Emitted when the user wants to configure/change containment.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user