From 348e8a047202ade151237c6f8ec43d86131e4a2f Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 19 Feb 2021 16:39:54 +0200 Subject: Initially set tray icon to default. Signed-off-by: Mavridis Philippe --- src/klamav.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/klamav.cpp') diff --git a/src/klamav.cpp b/src/klamav.cpp index 547ab9d..d4e4bb3 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -56,7 +56,7 @@ Klamav::Klamav() connect( tab, SIGNAL(tabClosed(TQString)), this, SLOT(tabClosed(TQString)) ); _tray = new KSystemTray(tdemain, "klamav tray"); - slotOnAccessTrayPixmap(false); + _tray->setPixmap( KSystemTray::loadIcon("klamav") ); connect(_tray,SIGNAL(quitSelected()),SLOT(shuttingDown())); TDEPopupMenu *conf_menu = _tray->contextMenu(); -- cgit v1.2.1