Add default screenForContainment implementation
This commit is contained in:
parent
36e4a45377
commit
37840b1490
@ -198,6 +198,12 @@ Containment *Corona::createContainment(const QString &name, const QVariantList &
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Corona::screenForContainment(const Containment* containment) const
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int Corona::numScreens() const
|
||||
{
|
||||
return 1;
|
||||
|
@ -161,7 +161,7 @@ public:
|
||||
* @returns the id of the screen which is showing @p containment
|
||||
* -1 is returned if the containment is not associated with a screen.
|
||||
*/
|
||||
virtual int screenForContainment(const Containment *containment) const = 0;
|
||||
virtual int screenForContainment(const Containment *containment) const;
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user