Main window: made 'Scan', 'Update' tabs fixed.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/24/head
Mavridis Philippe 4 years ago
parent 100a93b70a
commit 29029015ef
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -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()));

Loading…
Cancel
Save