diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-28 11:05:24 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-28 11:05:24 -0400 |
commit | ea1c6d45823e57a849fb49dce6ad17507bbb39ab (patch) | |
tree | d0b807389544d38be87f8160022139eea4caf7ad /lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | |
parent | Forcible remove the "tabBarAutoHide" property from the MainUI.ui file (5.4+ v... (diff) | |
download | lumina-ea1c6d45823e57a849fb49dce6ad17507bbb39ab.tar.gz lumina-ea1c6d45823e57a849fb49dce6ad17507bbb39ab.tar.bz2 lumina-ea1c6d45823e57a849fb49dce6ad17507bbb39ab.zip |
Make the symlink icon overlays a bit smaller (1/3 icon size, not 1/2 anymore), and ensure the 0.8.7-Release upgrade rules are not triggered for update to 0.8.8+
Diffstat (limited to 'lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp')
-rw-r--r-- | lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp b/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp index 926c6fb6..101abd31 100644 --- a/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp +++ b/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp @@ -74,7 +74,7 @@ void AppLauncherPlugin::loadButton(){ //If the file is a symlink, put the overlay on the icon if(QFileInfo(path).isSymLink()){ QImage img = button->icon().pixmap(QSize(icosize,icosize)).toImage(); - int oSize = icosize/2; //overlay size + int oSize = icosize/3; //overlay size QPixmap overlay = LXDG::findIcon("emblem-symbolic-link").pixmap(oSize,oSize).scaled(oSize,oSize, Qt::KeepAspectRatio, Qt::SmoothTransformation); QPainter painter(&img); painter.drawPixmap(icosize-oSize,icosize-oSize,overlay); //put it in the bottom-right corner |