From 29029015efbb26b8c63efa14d9eb6efdbddf65b2 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 14 Jan 2021 22:29:37 +0200 Subject: Main window: made 'Scan', 'Update' tabs fixed. Signed-off-by: Mavridis Philippe --- src/klamav.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/klamav.cpp') diff --git a/src/klamav.cpp b/src/klamav.cpp index b811e51..f791958 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -47,8 +47,13 @@ Klamav::Klamav() tdemain = this; TQVBoxLayout *top = new TQVBoxLayout(this,3,0); - tab = new TabWidget(this); - + + // We don't want these tabs closed + TQStringList fixedTabs; + fixedTabs << i18n("Scan") << i18n("Update"); + + tab = new TabWidget(this, "KlamAV", fixedTabs); + _tray = new KSystemTray(tdemain, "klamav tray"); _tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled")); connect(_tray,SIGNAL(quitSelected()),SLOT(shuttingDown())); -- cgit v1.2.1