aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/LDPlugin.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-06-20 10:35:33 -0400
committerKen Moore <ken@pcbsd.org>2015-06-20 10:35:33 -0400
commita439cc018cb2d22885521aa9ce56c83797f6600c (patch)
tree602106a1c9a48c0868113b0e412b6eebd2dc609f /lumina-desktop/desktop-plugins/LDPlugin.cpp
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-a439cc018cb2d22885521aa9ce56c83797f6600c.tar.gz
lumina-a439cc018cb2d22885521aa9ce56c83797f6600c.tar.bz2
lumina-a439cc018cb2d22885521aa9ce56c83797f6600c.zip
Clean up the desktop plugin/container interactions quite a bit to ensure consistency and proper size calculations (especially for new plugins).
Diffstat (limited to 'lumina-desktop/desktop-plugins/LDPlugin.cpp')
-rw-r--r--lumina-desktop/desktop-plugins/LDPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPlugin.cpp b/lumina-desktop/desktop-plugins/LDPlugin.cpp
index f7be148d..9e9cfeba 100644
--- a/lumina-desktop/desktop-plugins/LDPlugin.cpp
+++ b/lumina-desktop/desktop-plugins/LDPlugin.cpp
@@ -20,7 +20,7 @@ LDPlugin::LDPlugin(QWidget *parent, QString id) : QFrame(parent){
void LDPlugin::setInitialSize(int width, int height){
//Note: Only run this in the plugin initization routine:
// if the plugin is completely new (first time used), it will be this size
- if(settings->allKeys().filter(prefix).isEmpty()){
+ if(settings->allKeys().filter(prefix+"location").isEmpty()){
//Brand new plugin: set initial size
settings->setValue(prefix+"location/width",width);
settings->setValue(prefix+"location/height",height);
bgstack15