set and use the default containment plugin
svn path=/trunk/KDE/kdebase/runtime/; revision=1213882
This commit is contained in:
parent
a13812359a
commit
2b3b038f3f
@ -41,13 +41,14 @@ void PlasmaKPartCorona::init()
|
|||||||
{
|
{
|
||||||
enableAction("Lock Widgets", false);
|
enableAction("Lock Widgets", false);
|
||||||
enableAction("Shortcut Settings", false);
|
enableAction("Shortcut Settings", false);
|
||||||
|
setDefaultContainmentPlugin("newspaper");
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlasmaKPartCorona::loadDefaultLayout()
|
void PlasmaKPartCorona::loadDefaultLayout()
|
||||||
{
|
{
|
||||||
// used to force a save into the config file
|
// used to force a save into the config file
|
||||||
KConfigGroup invalidConfig;
|
KConfigGroup invalidConfig;
|
||||||
Plasma::Containment* c = addContainment("newspaper");
|
Plasma::Containment* c = addContainment(QString());
|
||||||
|
|
||||||
if (!c) {
|
if (!c) {
|
||||||
// do some error reporting?
|
// do some error reporting?
|
||||||
|
Loading…
Reference in New Issue
Block a user