mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-07 08:58:17 +03:00
fix #42,latte icon shown correctly in ksysguard
--shell metadata file was missing the icon, this fixes also the configuration window icon
This commit is contained in:
parent
b717a714f5
commit
46087059ac
@ -42,6 +42,10 @@ DockConfigView::DockConfigView(Plasma::Containment *containment, DockView *dockV
|
||||
m_blockFocusLost(false),
|
||||
m_dockView(dockView)
|
||||
{
|
||||
if (containment) {
|
||||
setIcon(QIcon::fromTheme(containment->corona()->kPackage().metadata().iconName()));
|
||||
}
|
||||
|
||||
connections << connect(dockView, &QObject::destroyed, this, &QObject::deleteLater);
|
||||
m_screenSyncTimer.setSingleShot(true);
|
||||
m_screenSyncTimer.setInterval(100);
|
||||
|
@ -5,6 +5,7 @@ Comment=Shell provided for the Latte Dock
|
||||
|
||||
Keywords=shell
|
||||
Type=Service
|
||||
Icon=latte-dock
|
||||
|
||||
X-KDE-ServiceTypes=Plasma/Shell
|
||||
X-KDE-ParentApp=latte-dock
|
||||
|
Loading…
x
Reference in New Issue
Block a user