diff options
author | Ken Moore <ken@ixsystems.com> | 2017-02-24 13:15:15 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-02-24 13:15:15 -0500 |
commit | fca827cd967bfcb4fdc95f22ed94a6529ec6d5b4 (patch) | |
tree | 4676ef569afc33e9d09c5590a5f4a55d67dc7907 /src-qt5/core | |
parent | Make sure the tooltip on the desktop icons is properly set for .desktop entri... (diff) | |
download | lumina-fca827cd967bfcb4fdc95f22ed94a6529ec6d5b4.tar.gz lumina-fca827cd967bfcb4fdc95f22ed94a6529ec6d5b4.tar.bz2 lumina-fca827cd967bfcb4fdc95f22ed94a6529ec6d5b4.zip |
Oops - fix a typo in the tooltip update.
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp index 1d957817..76b27787 100644 --- a/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp +++ b/src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp @@ -92,7 +92,7 @@ void AppLauncherPlugin::loadButton(){ button->setIcon( QIcon(QPixmap::fromImage(img)) ); } //Now adjust the visible text as necessary based on font/grid sizing - if(button->tooltip().isEmpty()){ button->setToolTip(txt); } + if(button->toolTip().isEmpty()){ button->setToolTip(txt); } //Double check that the visual icon size matches the requested size - otherwise upscale the icon if(button->fontMetrics().width(txt) > (button->width()-OUTMARGIN) ){ //Text too long, try to show it on two lines |