diff --git a/gui/common.h b/gui/common.h
index 3e66d6d8f..841531161 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -31,7 +31,6 @@ typedef enum
{
SHOW_ALL = 0,
SHOW_STYLE,
- SHOW_ALL_STYLE,
SHOW_ERRORS,
SHOW_NONE
}
@@ -45,7 +44,6 @@ ShowTypes;
#define SETTINGS_WINDOW_HEIGHT "Window height"
#define SETTINGS_SHOW_ALL "Show all"
#define SETTINGS_SHOW_STYLE "Show style"
-#define SETTINGS_SHOW_ALL_STYLE "Show all style"
#define SETTINGS_SHOW_ERRORS "Show errors"
#define SETTINGS_CHECK_PATH "Check path"
#define SETTINGS_CHECK_FORCE "Check force"
diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts
index bf69a387a..4077917b3 100644
--- a/gui/cppcheck_de.ts
+++ b/gui/cppcheck_de.ts
@@ -128,20 +128,20 @@ kate -l(line) (file)
MainWindow
-
+
-
-
+
+
-
+
-
+
@@ -156,177 +156,172 @@ kate -l(line) (file)
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -338,47 +333,47 @@ Stop the checking before exiting.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -428,18 +423,18 @@ Stop the checking before exiting.
QObject
-
+
-
+
Language file %1.qm not found!
-
+
Failed to load translation for language %1 from file %2.qm
@@ -449,25 +444,25 @@ Stop the checking before exiting.
ResultsTree
-
+
-
+
-
+
-
+
@@ -477,55 +472,50 @@ Stop the checking before exiting.
-
+
-
+
-
+
-
+
-
+
You can open this error by specifying applications in program's settings.
-
+
-
+
-
+
-
-
-
-
-
-
+
@@ -533,30 +523,30 @@ Please check the application path and parameters are correct.
ResultsView
-
-
+
+
-
+
-
+
-
+
-
-
+
+
diff --git a/gui/cppcheck_en.ts b/gui/cppcheck_en.ts
index eba10a851..1c8f47401 100644
--- a/gui/cppcheck_en.ts
+++ b/gui/cppcheck_en.ts
@@ -141,20 +141,20 @@ kate -l(line) (file)
MainWindow
-
+
-
-
+
+
Cppcheck
-
+
Standard
-
+
Show possible false positives
@@ -169,177 +169,172 @@ kate -l(line) (file)
&View
-
+
&Check
-
+
&Edit
-
+
&License...
-
+
A&uthors...
-
+
&About...
-
+
&Files...
-
+
Ctrl+F
-
+
&Directory...
-
+
Ctrl+D
-
+
&Recheck files
-
+
Ctrl+R
-
+
&Stop
-
+
Esc
-
+
&Save results to file...
-
+
Ctrl+S
-
+
&Quit
-
+
&Clear results
-
+
&Preferences
-
+
Show security errors
-
+
Show style errors
-
-
- Show possible style errors
-
-
-
+
Show common errors
-
+
&Check all
-
+
&Uncheck all
-
+
Collapse &all
-
+
&Expand all
-
+
&Toolbar
-
+
-
+
-
+
-
+
&Language
-
+
&Help
-
+
Select files to check
-
+
Select directory to check
-
+
No suitable files found to check!
@@ -353,47 +348,47 @@ Stop the checking before exiting.
Stop the checking before exiting.
-
+
License
-
+
Authors
-
+
XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)
-
+
Save the report file
-
+
XML files (*.xml)
-
+
Text files (*.txt)
-
+
-
+
Cppcheck - %1
-
+
-
+
Finnish
-
+
English
-
+
-
+
Swedish
-
+
German
-
+
Russian
-
+
Polish
@@ -445,18 +440,18 @@ Stop the checking before exiting.
QObject
-
+
Incorrect language specified!
-
+
Language file %1.qm not found!
Could not find the file: %1!
-
+
Failed to load translation for language %1 from file %2.qm
Failed to load translation for language %1 from file %2
@@ -466,25 +461,25 @@ Stop the checking before exiting.
ResultsTree
-
+
File
-
+
Severity
-
+
Line
-
+
Message
@@ -494,33 +489,33 @@ Stop the checking before exiting.
Undefined file
-
+
Copy filename
-
+
Copy full path
-
+
-
+
Cppcheck
-
+
You can open this error by specifying applications in program's settings.
You can open this error by specifying applications in program's settings.
-
+
@@ -529,22 +524,17 @@ Please check the application path and parameters are correct.
Please check the application path and parameters are correct.
-
+
possible error
-
+
Style
-
-
- possible style
-
-
-
+
Error
@@ -552,31 +542,31 @@ Please check the application path and parameters are correct.
ResultsView
-
-
+
+
Cppcheck
-
+
No errors found.
-
+
Errors were found, but they are configured to be hidden.
To toggle what kind of errors are shown, open view menu.
-
+
No errors found, nothing to save.
-
-
+
+
Failed to save the report.
diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts
index b049154eb..a1de1e6d9 100644
--- a/gui/cppcheck_fi.ts
+++ b/gui/cppcheck_fi.ts
@@ -143,20 +143,20 @@ kate -l(line) (file)
MainWindow
-
+
-
-
+
+
Cppcheck
-
+
Vakio
-
+
Näytä epävarmat virheet
@@ -171,177 +171,172 @@ kate -l(line) (file)
&Näytä
-
+
&Tarkista
-
+
&Muokkaa
-
+
&Lisenssi...
-
+
&Tekijät...
-
+
&Tietoa ohjelmasta Cppcheck...
-
+
&Tiedostot...
-
+
Ctrl+F
-
+
&Hakemisto...
-
+
Ctrl+D
-
+
Tarkista tiedostot &uudelleen
-
+
Ctrl+R
-
+
&Pysäytä
-
+
Esc
-
+
&Tallenna tulokset tiedostoon...
-
+
Ctrl+S
-
+
&Lopeta
-
+
&Tyhjennä tulokset
-
+
&Asetukset
-
+
Näytä tietoturvavirheet
-
+
Näytä tyylivirheet
-
-
- Näytä mahdolliset tyylivirheet
-
-
-
+
Näytä yleiset virheet
-
+
&Valitse kaikki
-
+
&Poista kaikista valinta
-
+
&Pienennä kaikki
-
+
&Laajenna kaikki
-
+
&Työkalupalkki
-
+
-
+
-
+
-
+
&Kieli
-
+
&Ohje
-
+
Valitse tarkistettavat tiedostot
-
+
Valitse tarkistettava hakemisto
-
+
Tarkistettavaksi sopivia tiedostoja ei löytynyt!
@@ -355,47 +350,47 @@ Stop the checking before exiting.
Lopeta tarkistus ennen ohjelman sammuttamista.
-
+
Lisenssi
-
+
Tekijät
-
+
XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)
-
+
Tallenna raportti
-
+
XML-tiedostot (*xml)
-
+
Tekstitiedostot (*.txt)
-
+
-
+
Cppcheck - %1
-
+
-
+
Suomi
-
+
Englanti
-
+
-
+
Ruotsi
-
+
Saksa
-
+
Venäjä
-
+
Puola
@@ -449,18 +444,18 @@ Lopeta tarkistus ennen ohjelman sammuttamista.
QObject
-
+
Virheellinen kieli valittu!
-
+
Language file %1.qm not found!
Käännöstiedostoa %1 ei löytynyt!
-
+
Failed to load translation for language %1 from file %2.qm
Käänöksen lataaminen kielelle %1 tiedostosta %2 epäonnistui
@@ -470,25 +465,25 @@ Lopeta tarkistus ennen ohjelman sammuttamista.
ResultsTree
-
+
Tiedosto
-
+
Tyyppi
-
+
Rivi
-
+
Virhe
@@ -498,33 +493,33 @@ Lopeta tarkistus ennen ohjelman sammuttamista.
Määrittelemätön tiedosto
-
+
Kopioi tiedostonimi
-
+
Kopioi tiedoston koko polku
-
+
-
+
Cppcheck
-
+
You can open this error by specifying applications in program's settings.
Voit asetuksista määritellä muita ohjelmia joilla avata tämän virheen sisältävän tiedoston.
-
+
@@ -533,22 +528,17 @@ Please check the application path and parameters are correct.
Tarkista että ohjelman polku ja parametrit ovat oikeat.
-
+
mahdollinen virhe
-
+
Tyyli
-
-
- tyylivirhe
-
-
-
+
Yleinen
@@ -556,31 +546,31 @@ Tarkista että ohjelman polku ja parametrit ovat oikeat.
ResultsView
-
-
+
+
Cppcheck
-
+
Virheitä ei löytynyt.
-
+
Virheitä löytyi, mutta asetuksissa kyseiset virheet on määritelty piilotettavaksi.
Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valikko.
-
+
Virheitä ei löytynyt, ei mitään tallennettavaa.
-
-
+
+
Raportin tallentaminen epäonnistui.
diff --git a/gui/cppcheck_nl.ts b/gui/cppcheck_nl.ts
index d648ddd55..123793da3 100644
--- a/gui/cppcheck_nl.ts
+++ b/gui/cppcheck_nl.ts
@@ -141,20 +141,20 @@ kate -l(line) (file)
MainWindow
-
+
-
-
+
+
Cppcheck
-
+
Standaard
-
+
Toon mogelijke false positives
@@ -169,177 +169,172 @@ kate -l(line) (file)
&Weergave
-
+
&Controleer
-
+
Be&werken
-
+
&Licentie...
-
+
A&uteurs...
-
+
&Over...
-
+
&Bestanden...
-
+
Ctrl+F
-
+
&Mappen...
-
+
Ctrl+D
-
+
&Opnieuw controleren
-
+
Ctrl+R
-
+
&Stop
-
+
Esc
-
+
&Resultaten opslaan...
-
+
Ctrl+S
-
+
&Afsluiten
-
+
&Resultaten wissen
-
+
&Voorkeuren
-
+
Toon beveiligingsfouten
-
+
Toon stijl fouten
-
-
- Toon mogelijke stijlfouten
-
-
-
+
Toon gewone fouten
-
+
&Selecteer alles
-
+
Selecteer &niets
-
+
Alles Inkl&appen
-
+
Alles &Uitklappen
-
+
Wer&kbalk
-
+
-
+
-
+
-
+
&Taal
-
+
&Help
-
+
Selecteer bestanden om te controleren
-
+
Selecteer een map om te controleren
-
+
Geen geschikte bestanden gevonden om te controleren!
@@ -353,47 +348,47 @@ Stop the checking before exiting.
Stop de controle alvorens te sluiten.
-
+
Licentie
-
+
Auteurs
-
+
XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)
-
+
Rapport opslaan
-
+
XML bestanden (*.xml)
-
+
Tekst bestanden (*.txt)
-
+
-
+
Cppcheck - %1
-
+
-
+
Fins
-
+
Engels
-
+
Nederlands
-
+
Zweeds
-
+
Duits
-
+
Russisch
-
+
Pools
@@ -445,18 +440,18 @@ Stop de controle alvorens te sluiten.
QObject
-
+
Ongeldige taal gespecifieerd!
-
+
Language file %1.qm not found!
Kon het taalbestand niet vinden: %1!
-
+
Failed to load translation for language %1 from file %2.qm
Kon de vertaling voor taal %1 in bestand %2 niet laden
@@ -466,25 +461,25 @@ Stop de controle alvorens te sluiten.
ResultsTree
-
+
Bestand
-
+
Ernst
-
+
Regel
-
+
Boodschap
@@ -494,33 +489,33 @@ Stop de controle alvorens te sluiten.
Niet gedefinieerd bestand
-
+
Kopier bestandsnaam
-
+
Kopieer volledig pad
-
+
-
+
Cppcheck
-
+
You can open this error by specifying applications in program's settings.
U dient een applicatie te configureren in de instellingen om deze fout in te openen.
-
+
@@ -529,22 +524,17 @@ Please check the application path and parameters are correct.
Gelieve te controleren of de het pad en de parameters correct zijn.
-
+
Mogelijke fouten
-
+
Stijlfouten
-
-
- Mogelijke stijlfouten
-
-
-
+
Fouten
@@ -552,31 +542,31 @@ Gelieve te controleren of de het pad en de parameters correct zijn.
ResultsView
-
-
+
+
Cppcheck
-
+
Geen fouten gevonden.
-
+
Fouten werden gevonden, maar volgens de configuratie zijn deze verborgen.
Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.
-
+
Geen fouten gevonden; geen data om op te slaan.
-
-
+
+
Kon het rapport niet opslaan.
diff --git a/gui/cppcheck_pl.ts b/gui/cppcheck_pl.ts
index 53f32b256..8b421d261 100644
--- a/gui/cppcheck_pl.ts
+++ b/gui/cppcheck_pl.ts
@@ -128,10 +128,10 @@ kate -l(line) (file)
MainWindow
-
+
-
-
+
+
@@ -146,187 +146,182 @@ kate -l(line) (file)
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -338,47 +333,47 @@ Stop the checking before exiting.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -425,17 +420,17 @@ Stop the checking before exiting.
QObject
-
+
-
+
-
+
@@ -444,25 +439,25 @@ Stop the checking before exiting.
ResultsTree
-
+
-
+
-
+
-
+
@@ -472,54 +467,49 @@ Stop the checking before exiting.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
+
@@ -527,30 +517,30 @@ Please check the application path and parameters are correct.
ResultsView
-
-
+
+
-
+
-
+
-
+
-
-
+
+
diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts
index fda9fe34e..9363a2a52 100644
--- a/gui/cppcheck_ru.ts
+++ b/gui/cppcheck_ru.ts
@@ -131,20 +131,20 @@ kate -l(line) (file)
MainWindow
-
+
-
-
+
+
Cppcheck
-
+
-
+
Показывать возможные ложные срабатывания
@@ -159,177 +159,172 @@ kate -l(line) (file)
Вид
-
+
Проверить
-
+
Правка
-
+
Лицензия...
-
+
Авторы...
-
+
О программе...
-
+
Файлы...
-
+
Ctrl+F
-
+
Каталог...
-
+
Ctrl+D
-
+
-
+
Ctrl+R
-
+
Остановить
-
+
Esc
-
+
Сохранить отчёт в файл...
-
+
Ctrl+S
-
+
Выход
-
+
Очистить отчёт
-
+
Параметры
-
+
Показывать ошибки безопасности
-
+
Показывать ошибки стиля
-
-
-
-
-
-
+
Показывать общие ошибки
-
+
Отметить все
-
+
Сбросить все
-
+
Свернуть все
-
+
Развернуть все
-
+
Панель инструментов
-
+
-
+
-
+
-
+
Язык
-
+
Помощь
-
+
Выберите файлы для проверки
-
+
Выберите каталог для проверки
-
+
@@ -341,47 +336,47 @@ Stop the checking before exiting.
-
+
Лицензия
-
+
Авторы
-
+
-
+
-
+
-
+
Текстовые файлы (*.txt)
-
+
-
+
Cppcheck - %1
-
+
-
+
Финский
-
+
Английский
-
+
-
+
Швецкий
-
+
Немецкий
-
+
Русский
-
+
@@ -435,18 +430,18 @@ Stop the checking before exiting.
QObject
-
+
Выбран неверный язык!
-
+
Language file %1.qm not found!
-
+
Failed to load translation for language %1 from file %2.qm
Ошибка загрузки переводов для языка %1 из файла %2
@@ -456,25 +451,25 @@ Stop the checking before exiting.
ResultsTree
-
+
Файл
-
+
Важность
-
+
Строка
-
+
Сообщение
@@ -484,55 +479,50 @@ Stop the checking before exiting.
-
+
Скопировать имя файла
-
+
Скопировать полный путь
-
+
-
+
Cppcheck
-
+
You can open this error by specifying applications in program's settings.
-
+
-
+
-
+
-
-
-
-
-
-
+
@@ -540,30 +530,30 @@ Please check the application path and parameters are correct.
ResultsView
-
-
+
+
Cppcheck
-
+
Ошибок не найдено.
-
+
-
+
-
-
+
+
diff --git a/gui/cppcheck_se.ts b/gui/cppcheck_se.ts
index eb3ae74c9..b8a8a1439 100644
--- a/gui/cppcheck_se.ts
+++ b/gui/cppcheck_se.ts
@@ -141,20 +141,20 @@ kate -l(line) (file)
MainWindow
-
+
-
-
+
+
Cppcheck
-
+
Standard
-
+
Visa möjliga false positives
@@ -169,178 +169,173 @@ kate -l(line) (file)
&Visa
-
+
&Check
-
+
&Redigera
-
+
&Licens...
-
+
&Utvecklat av...
-
+
&Om...
-
+
&Filer...
-
+
Ctrl+F
-
+
&Katalog...
-
+
Ctrl+D
-
+
Starta &om check
-
+
Ctrl+R
-
+
&Stoppa
-
+
Esc
-
+
&Spara resultat till fil...
-
+
Ctrl+S
-
+
&Avsluta
-
+
&Töm resultat
-
+
&Inställningar
-
+
Säkerhetsvarningar
-
+
Stilvarningar
-
-
- Visa möjliga stilvarningar
-
-
-
+
Vanliga fel
-
+
&Kryssa alla
-
+
Kryssa &ur alla
-
+
Ingen bra översättning!
&Fäll ihop alla
-
+
&Expandera alla
-
+
&Verktyg
-
+
-
+
-
+
-
+
&Språk
-
+
&Hjälp
-
+
Välj filer att kontrollera
-
+
Välj katalog som skall kontrolleras
-
+
Inga lämpliga filer hittades!
@@ -352,47 +347,47 @@ Stop the checking before exiting.
Kan ej avsluta medans check pågår.
-
+
Licens
-
+
Utvecklare
-
+
XML filer (*.xml);;Text filer (*.txt);;CSV filer (*.csv)
-
+
Spara rapport
-
+
XML filer (*.xml)
-
+
Text filer (*.txt)
-
+
-
+
Cppcheck - %1
-
+
-
+
Finska
-
+
Engelska
-
+
-
+
Svenska
-
+
Tyska
-
+
Ryska
-
+
Polska
@@ -446,18 +441,18 @@ Stop the checking before exiting.
QObject
-
+
valt språk är ej korrekt!
-
+
Language file %1.qm not found!
Språk filen %1 hittades ej!
-
+
Failed to load translation for language %1 from file %2.qm
Misslyckades med att ladda översättningen för %1 från filen %2
@@ -467,25 +462,25 @@ Stop the checking before exiting.
ResultsTree
-
+
Fil
-
+
Typ
-
+
Rad
-
+
Meddelande
@@ -495,33 +490,33 @@ Stop the checking before exiting.
Odefinierad fil
-
+
Kopiera filnamn
-
+
Kopiera full sökväg
-
+
-
+
Cppcheck
-
+
You can open this error by specifying applications in program's settings.
Konfigurera program i inställningar/program.
-
+
@@ -530,22 +525,17 @@ Please check the application path and parameters are correct.
Kontrollera att sökvägen och parametrarna är korrekta.
-
+
Möjligt fel
-
+
stil
-
-
- Möjlig stil
-
-
-
+
fel
@@ -553,31 +543,31 @@ Kontrollera att sökvägen och parametrarna är korrekta.
ResultsView
-
-
+
+
Cppcheck
-
+
Inga fel hittades.
-
+
Fel hittades, men de visas ej.
För att ställa in vilka fel som skall visas använd visa menyn.
-
+
Inga fel hittades, ingenting att spara.
-
-
+
+
Misslyckades med att spara rapporten.
diff --git a/gui/main.ui b/gui/main.ui
index 29457eaf5..b9874cd75 100644
--- a/gui/main.ui
+++ b/gui/main.ui
@@ -268,14 +268,6 @@
Show style errors
-
-
- true
-
-
- Show possible style errors
-
-
true
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index a7cd1b1e3..c7e27ab4b 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -59,7 +59,6 @@ MainWindow::MainWindow() :
connect(mUI.mActionShowAll, SIGNAL(toggled(bool)), this, SLOT(ShowAll(bool)));
connect(mUI.mActionShowStyle, SIGNAL(toggled(bool)), this, SLOT(ShowStyle(bool)));
- connect(mUI.mActionShowAllStyle, SIGNAL(toggled(bool)), this, SLOT(ShowAllStyle(bool)));
connect(mUI.mActionShowErrors, SIGNAL(toggled(bool)), this, SLOT(ShowErrors(bool)));
connect(mUI.mActionCheckAll, SIGNAL(triggered()), this, SLOT(CheckAll()));
connect(mUI.mActionUncheckAll, SIGNAL(triggered()), this, SLOT(UncheckAll()));
@@ -159,13 +158,11 @@ void MainWindow::LoadSettings()
mUI.mActionShowAll->setChecked(mSettings->value(SETTINGS_SHOW_ALL, true).toBool());
mUI.mActionShowStyle->setChecked(mSettings->value(SETTINGS_SHOW_STYLE, true).toBool());
- mUI.mActionShowAllStyle->setChecked(mSettings->value(SETTINGS_SHOW_ALL_STYLE, true).toBool());
mUI.mActionShowErrors->setChecked(mSettings->value(SETTINGS_SHOW_ERRORS, true).toBool());
mUI.mResults->ShowResults(SHOW_ALL, mUI.mActionShowAll->isChecked());
mUI.mResults->ShowResults(SHOW_ERRORS, mUI.mActionShowErrors->isChecked());
mUI.mResults->ShowResults(SHOW_STYLE, mUI.mActionShowStyle->isChecked());
- mUI.mResults->ShowResults(SHOW_ALL_STYLE, mUI.mActionShowAllStyle->isChecked());
mUI.mActionToolbar->setChecked(mSettings->value(SETTINGS_TOOLBARS_SHOW, true).toBool());
mUI.mToolBar->setVisible(mSettings->value(SETTINGS_TOOLBARS_SHOW, true).toBool());
@@ -186,7 +183,6 @@ void MainWindow::SaveSettings()
mSettings->setValue(SETTINGS_SHOW_ALL, mUI.mActionShowAll->isChecked());
mSettings->setValue(SETTINGS_SHOW_STYLE, mUI.mActionShowStyle->isChecked());
- mSettings->setValue(SETTINGS_SHOW_ALL_STYLE, mUI.mActionShowAllStyle->isChecked());
mSettings->setValue(SETTINGS_SHOW_ERRORS, mUI.mActionShowErrors->isChecked());
mSettings->setValue(SETTINGS_TOOLBARS_SHOW, mUI.mToolBar->isVisible());
@@ -459,11 +455,6 @@ void MainWindow::ShowStyle(bool checked)
mUI.mResults->ShowResults(SHOW_STYLE, checked);
}
-void MainWindow::ShowAllStyle(bool checked)
-{
- mUI.mResults->ShowResults(SHOW_ALL_STYLE, checked);
-}
-
void MainWindow::ShowErrors(bool checked)
{
mUI.mResults->ShowResults(SHOW_ERRORS, checked);
@@ -511,9 +502,6 @@ void MainWindow::ToggleAllChecked(bool checked)
mUI.mActionShowStyle->setChecked(checked);
ShowStyle(checked);
- mUI.mActionShowAllStyle->setChecked(checked);
- ShowStyle(checked);
-
mUI.mActionShowErrors->setChecked(checked);
ShowErrors(checked);
}
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 3a1e3dc89..014b6fadd 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -79,12 +79,6 @@ public slots:
*/
void ShowStyle(bool checked);
- /**
- * @brief Show errors with type "possible style"
- * @param checked Should errors be shown (true) or hidden (false)
- */
- void ShowAllStyle(bool checked);
-
/**
* @brief Show errors with type "error"
* @param checked Should errors be shown (true) or hidden (false)
diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp
index d2d2917b3..f62ca8c1e 100644
--- a/gui/resultstree.cpp
+++ b/gui/resultstree.cpp
@@ -224,8 +224,6 @@ ShowTypes ResultsTree::SeverityToShowType(const QString & severity)
return SHOW_ERRORS;
if (severity == "style")
return SHOW_STYLE;
- if (severity == "possible style")
- return SHOW_ALL_STYLE;
return SHOW_NONE;
}
@@ -669,10 +667,6 @@ QString ResultsTree::ShowTypeToString(ShowTypes type)
return tr("style");
break;
- case SHOW_ALL_STYLE:
- return tr("possible style");
- break;
-
case SHOW_ERRORS:
return tr("error");
break;