diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 22:29:37 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 22:29:37 +0200 |
commit | 29029015efbb26b8c63efa14d9eb6efdbddf65b2 (patch) | |
tree | 189390c17eecac49cdfda7ab1935ae8e0b74b3bc /src | |
parent | 100a93b70a62694b99081cd9c2687ab885c00305 (diff) | |
download | klamav-29029015efbb26b8c63efa14d9eb6efdbddf65b2.tar.gz klamav-29029015efbb26b8c63efa14d9eb6efdbddf65b2.zip |
Main window: made 'Scan', 'Update' tabs fixed.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/klamav.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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())); |