diff options
Diffstat (limited to 'lumina-desktop/desktop-plugins/LDPlugin.cpp')
-rw-r--r-- | lumina-desktop/desktop-plugins/LDPlugin.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPlugin.cpp b/lumina-desktop/desktop-plugins/LDPlugin.cpp index 84c92530..5db20232 100644 --- a/lumina-desktop/desktop-plugins/LDPlugin.cpp +++ b/lumina-desktop/desktop-plugins/LDPlugin.cpp @@ -28,3 +28,10 @@ void LDPlugin::setInitialSize(int width, int height){ settings->sync(); } } + +void LDPlugin::adjustSize(int width, int height){ + settings->setValue(prefix+"location/width",width); + settings->setValue(prefix+"location/height",height); + settings->sync(); + emit PluginResized(); +}
\ No newline at end of file |