From 309b8aced2416195643e8b8dec620afe6f60d74c Mon Sep 17 00:00:00 2001 From: wi Date: Tue, 5 May 2015 22:17:10 +0200 Subject: New icon layout for the icons on the desktop --- lumina-desktop/desktop-plugins/LDPlugin.h | 3 ++- lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lumina-desktop') diff --git a/lumina-desktop/desktop-plugins/LDPlugin.h b/lumina-desktop/desktop-plugins/LDPlugin.h index b6d786cc..82f8e22f 100644 --- a/lumina-desktop/desktop-plugins/LDPlugin.h +++ b/lumina-desktop/desktop-plugins/LDPlugin.h @@ -40,7 +40,8 @@ public: if(opaque){ this->setObjectName("LuminaDesktopPluginVisible"); } else{ this->setObjectName("LuminaDesktopPlugin"); } //Use plugin-specific values for stylesheet control (applauncher, desktopview, etc...) - //this->setObjectName(id.section("---",0,0).section("::",0,0)); + qDebug() << "set Objectname:" << id.section("---",0,0).section("::",0,0); + this->setObjectName(id.section("---",0,0).section("::",0,0)); } ~LDPlugin(){ diff --git a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp index 527de682..b07984d4 100644 --- a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp +++ b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp @@ -21,7 +21,7 @@ DesktopViewPlugin::DesktopViewPlugin(QWidget* parent, QString ID) : LDPlugin(par list->setSpacing(2); list->setSelectionBehavior(QAbstractItemView::SelectItems); list->setSelectionMode(QAbstractItemView::ExtendedSelection); - list->setStyleSheet( "QListWidget{ background: transparent; border: none; }" ); + //list->setStyleSheet( "QListWidget{ background: transparent; border: none; }" ); int icosize = settings->value("IconSize",64).toInt(); list->setIconSize(QSize(icosize,icosize)); list->setUniformItemSizes(true); -- cgit