From fc4971753616f8ff9441574d24f4922ee8e0c546 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 14 Jan 2021 13:34:42 +0200 Subject: Removed remains of ClamAV updates in wizard. Signed-off-by: Mavridis Philippe --- src/firstrunwizard.ui | 134 +++++++++++------------------------------------- src/firstrunwizard.ui.h | 10 ---- src/klamav.cpp | 7 --- src/klamav.h | 1 - 4 files changed, 29 insertions(+), 123 deletions(-) (limited to 'src') diff --git a/src/firstrunwizard.ui b/src/firstrunwizard.ui index bbbdf4d..bb36f9f 100644 --- a/src/firstrunwizard.ui +++ b/src/firstrunwizard.ui @@ -9,7 +9,7 @@ 0 0 830 - 443 + 514 @@ -89,56 +89,6 @@ Storage Locations (1 of 1) - - - spacer4 - - - Horizontal - - - Expanding - - - - 80 - 20 - - - - - 426 - 50 - 80 - 20 - - - - - - spacer5 - - - Vertical - - - Expanding - - - - 20 - 30 - - - - - 390 - 340 - 20 - 30 - - - CheckForDatabaseUpdates @@ -161,28 +111,6 @@ true - - - CheckForClamAVUpdates - - - - 466 - 300 - 340 - 30 - - - - Check for updates &to ClamAV now. - - - Alt+T - - - false - - groupBox1 @@ -288,31 +216,6 @@ - - - spacer16 - - - Vertical - - - Fixed - - - - 21 - 20 - - - - - 200 - 130 - 21 - 20 - - - text2 @@ -321,8 +224,8 @@ 15 15 - 405 - 110 + 740 + 105 @@ -337,17 +240,40 @@ Manual - <p>KlamAV needs to know two things to get started: where you want to store your quarantine and where you want to store your signature database!.</p> + <p>KlamAV needs to know two things to get started: where you want to store your quarantine and where you want to store your signature database.</p> <p>You can change these settings at a later time using the configuration dialog.</p> AtWordBoundary + + + spacer16 + + + Vertical + + + Fixed + + + + 21 + 30 + + + + + 200 + 120 + 21 + 30 + + + - - firstrunwizard.ui.h @@ -365,11 +291,9 @@ defaultDatabasePath() defaultQuarantinePath() downloadDatabase() - downloadClamAV() - kactivelabel.h kactivelabel.h kurlrequester.h klineedit.h diff --git a/src/firstrunwizard.ui.h b/src/firstrunwizard.ui.h index 9e26acc..cb62580 100644 --- a/src/firstrunwizard.ui.h +++ b/src/firstrunwizard.ui.h @@ -128,13 +128,3 @@ FirstRunWizard::downloadDatabase( ) //virtual return true; return false; } - -bool -FirstRunWizard::downloadClamAV( ) //virtual -{ - if (CheckForClamAVUpdates->isChecked()) - return true; - return false; -} - - diff --git a/src/klamav.cpp b/src/klamav.cpp index ab99910..a300e90 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -41,7 +41,6 @@ Klamav::Klamav() { downloadDBForWizard = false; - downloadClamAVForWizard = false; tdemain = this; TQVBoxLayout *top = new TQVBoxLayout(this,10,10); @@ -150,8 +149,6 @@ Klamav::Klamav() tab->setCurrentPage(2); freshklam->slotSearch(); } - if (downloadClamAVForWizard) - freshklam->checkForNewClamAVNow(); //klamdb->shouldIShow(); CollectionDB::instance()->insertEvent("Launch","KlamAV Launched"); @@ -290,10 +287,6 @@ void Klamav::firstRunWizard() { kdDebug() << "downloading database" << endl; downloadDBForWizard = true; } - if (wizard.downloadClamAV()){ - kdDebug() << "downloading clamav" << endl; - downloadClamAVForWizard = true; - } } diff --git a/src/klamav.h b/src/klamav.h index 01a0b07..464ad1e 100644 --- a/src/klamav.h +++ b/src/klamav.h @@ -75,7 +75,6 @@ public: Freshklam *freshklam; bool firstDownload; bool downloadDBForWizard; - bool downloadClamAVForWizard; Kuarantine *kuarantine; KlamDB *klamdb; Klamscan *klamscan; -- cgit v1.2.1