aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h')
-rw-r--r--lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h
index a75372a1..046b6e5c 100644
--- a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h
+++ b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h
@@ -23,6 +23,10 @@ public:
DesktopViewPlugin(QWidget* parent, QString ID);
~DesktopViewPlugin();
+ virtual QSize defaultPluginSize(){
+ // The returned QSize is in grid points (typically 100 or 200 pixels square)
+ return QSize(3,3);
+ }
private:
QListWidget *list;
QMenu *menu;
bgstack15