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 - + - - + + Cppcheck - + Standard - + Show possible false positives @@ -156,177 +156,172 @@ kate -l(line) (file) - + &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 - + &Contents - + Open the help contents - + F1 - + &Language - + &Help - + Select files to check - + Select directory to check - + No suitable files found to check! @@ -338,47 +333,47 @@ 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) - + CSV files (*.csv) - + Cppcheck - %1 - + Failed to change the language: %1 @@ -390,37 +385,37 @@ Stop the checking before exiting. - + Finnish - + English - + Dutch - + Swedish - + German - + Russian - + Polish @@ -428,18 +423,18 @@ Stop the checking before exiting. QObject - + Incorrect language specified! - + Language file %1 not found! Language file %1.qm not found! - + Failed to load translation for language %1 from file %2 Failed to load translation for language %1 from file %2.qm @@ -449,25 +444,25 @@ Stop the checking before exiting. ResultsTree - + File - + Severity - + Line - + Message @@ -477,55 +472,50 @@ Stop the checking before exiting. - + Copy filename - + Copy full path - + Copy message - + Cppcheck - + Configure the text file viewer program in Cppcheck preferences/Applications. You can open this error by specifying applications in program's settings. - + Could not start %1 Please check the application path and parameters are correct. - + possible error - + style - - possible style - - - - + error @@ -533,30 +523,30 @@ 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_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 Cppcheck - + Standard Standard - + Show possible false positives Show possible false positives @@ -169,177 +169,172 @@ kate -l(line) (file) &View - + &Check &Check - + &Edit &Edit - + &License... &License... - + A&uthors... A&uthors... - + &About... &About... - + &Files... &Files... - + Ctrl+F Ctrl+F - + &Directory... &Directory... - + Ctrl+D Ctrl+D - + &Recheck files &Recheck files - + Ctrl+R Ctrl+R - + &Stop &Stop - + Esc Esc - + &Save results to file... &Save results to file... - + Ctrl+S Ctrl+S - + &Quit &Quit - + &Clear results &Clear results - + &Preferences &Preferences - + Show security errors Show security errors - + Show style errors Show style errors - - Show possible style errors - Show possible style errors - - - + Show common errors Show common errors - + &Check all &Check all - + &Uncheck all &Uncheck all - + Collapse &all Collapse &all - + &Expand all &Expand all - + &Toolbar &Toolbar - + &Contents - + Open the help contents - + F1 - + &Language &Language - + &Help &Help - + Select files to check Select files to check - + Select directory to check Select directory to check - + No suitable files found to check! No suitable files found to check! @@ -353,47 +348,47 @@ Stop the checking before exiting. Stop the checking before exiting. - + License License - + Authors Authors - + XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) - + Save the report file Save the report file - + XML files (*.xml) XML files (*.xml) - + Text files (*.txt) Text files (*.txt) - + CSV files (*.csv) - + Cppcheck - %1 Cppcheck - %1 - + Failed to change the language: %1 @@ -407,37 +402,37 @@ Stop the checking before exiting. %1 - + Finnish Finnish - + English English - + Dutch - + Swedish Swedish - + German German - + Russian Russian - + Polish Polish @@ -445,18 +440,18 @@ Stop the checking before exiting. QObject - + Incorrect language specified! Incorrect language specified! - + Language file %1 not found! Language file %1.qm not found! Could not find the file: %1! - + Failed to load translation for language %1 from file %2 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 File - + Severity Severity - + Line Line - + Message Message @@ -494,33 +489,33 @@ Stop the checking before exiting. Undefined file - + Copy filename Copy filename - + Copy full path Copy full path - + Copy message - + Cppcheck Cppcheck - + Configure the text file viewer program in Cppcheck preferences/Applications. You can open this error by specifying applications in program's settings. You can open this error by specifying applications in program's settings. - + Could not start %1 Please check the application path and parameters are correct. @@ -529,22 +524,17 @@ Please check the application path and parameters are correct. Please check the application path and parameters are correct. - + possible error possible error - + style Style - - possible style - possible style - - - + error Error @@ -552,31 +542,31 @@ Please check the application path and parameters are correct. ResultsView - - + + Cppcheck Cppcheck - + No errors found. No errors found. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. 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. No errors found, nothing to save. - - + + Failed to save the report. 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 Cppcheck - + Standard Vakio - + Show possible false positives Näytä epävarmat virheet @@ -171,177 +171,172 @@ kate -l(line) (file) &Näytä - + &Check &Tarkista - + &Edit &Muokkaa - + &License... &Lisenssi... - + A&uthors... &Tekijät... - + &About... &Tietoa ohjelmasta Cppcheck... - + &Files... &Tiedostot... - + Ctrl+F Ctrl+F - + &Directory... &Hakemisto... - + Ctrl+D Ctrl+D - + &Recheck files Tarkista tiedostot &uudelleen - + Ctrl+R Ctrl+R - + &Stop &Pysäytä - + Esc Esc - + &Save results to file... &Tallenna tulokset tiedostoon... - + Ctrl+S Ctrl+S - + &Quit &Lopeta - + &Clear results &Tyhjennä tulokset - + &Preferences &Asetukset - + Show security errors Näytä tietoturvavirheet - + Show style errors Näytä tyylivirheet - - Show possible style errors - Näytä mahdolliset tyylivirheet - - - + Show common errors Näytä yleiset virheet - + &Check all &Valitse kaikki - + &Uncheck all &Poista kaikista valinta - + Collapse &all &Pienennä kaikki - + &Expand all &Laajenna kaikki - + &Toolbar &Työkalupalkki - + &Contents - + Open the help contents - + F1 - + &Language &Kieli - + &Help &Ohje - + Select files to check Valitse tarkistettavat tiedostot - + Select directory to check Valitse tarkistettava hakemisto - + No suitable files found to check! Tarkistettavaksi sopivia tiedostoja ei löytynyt! @@ -355,47 +350,47 @@ Stop the checking before exiting. Lopeta tarkistus ennen ohjelman sammuttamista. - + License Lisenssi - + Authors Tekijät - + XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv) - + Save the report file Tallenna raportti - + XML files (*.xml) XML-tiedostot (*xml) - + Text files (*.txt) Tekstitiedostot (*.txt) - + CSV files (*.csv) - + Cppcheck - %1 Cppcheck - %1 - + Failed to change the language: %1 @@ -411,37 +406,37 @@ Lopeta tarkistus ennen ohjelman sammuttamista. - + Finnish Suomi - + English Englanti - + Dutch - + Swedish Ruotsi - + German Saksa - + Russian Venäjä - + Polish Puola @@ -449,18 +444,18 @@ Lopeta tarkistus ennen ohjelman sammuttamista. QObject - + Incorrect language specified! Virheellinen kieli valittu! - + Language file %1 not found! Language file %1.qm not found! Käännöstiedostoa %1 ei löytynyt! - + Failed to load translation for language %1 from file %2 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 - + File Tiedosto - + Severity Tyyppi - + Line Rivi - + Message Virhe @@ -498,33 +493,33 @@ Lopeta tarkistus ennen ohjelman sammuttamista. Määrittelemätön tiedosto - + Copy filename Kopioi tiedostonimi - + Copy full path Kopioi tiedoston koko polku - + Copy message - + Cppcheck Cppcheck - + Configure the text file viewer program in Cppcheck preferences/Applications. 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. - + Could not start %1 Please check the application path and parameters are correct. @@ -533,22 +528,17 @@ Please check the application path and parameters are correct. Tarkista että ohjelman polku ja parametrit ovat oikeat. - + possible error mahdollinen virhe - + style Tyyli - - possible style - tyylivirhe - - - + error Yleinen @@ -556,31 +546,31 @@ Tarkista että ohjelman polku ja parametrit ovat oikeat. ResultsView - - + + Cppcheck Cppcheck - + No errors found. Virheitä ei löytynyt. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Virheitä löytyi, mutta asetuksissa kyseiset virheet on määritelty piilotettavaksi. Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valikko. - + No errors found, nothing to save. Virheitä ei löytynyt, ei mitään tallennettavaa. - - + + Failed to save the report. 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 Cppcheck - + Standard Standaard - + Show possible false positives Toon mogelijke false positives @@ -169,177 +169,172 @@ kate -l(line) (file) &Weergave - + &Check &Controleer - + &Edit Be&werken - + &License... &Licentie... - + A&uthors... A&uteurs... - + &About... &Over... - + &Files... &Bestanden... - + Ctrl+F Ctrl+F - + &Directory... &Mappen... - + Ctrl+D Ctrl+D - + &Recheck files &Opnieuw controleren - + Ctrl+R Ctrl+R - + &Stop &Stop - + Esc Esc - + &Save results to file... &Resultaten opslaan... - + Ctrl+S Ctrl+S - + &Quit &Afsluiten - + &Clear results &Resultaten wissen - + &Preferences &Voorkeuren - + Show security errors Toon beveiligingsfouten - + Show style errors Toon stijl fouten - - Show possible style errors - Toon mogelijke stijlfouten - - - + Show common errors Toon gewone fouten - + &Check all &Selecteer alles - + &Uncheck all Selecteer &niets - + Collapse &all Alles Inkl&appen - + &Expand all Alles &Uitklappen - + &Toolbar Wer&kbalk - + &Contents - + Open the help contents - + F1 - + &Language &Taal - + &Help &Help - + Select files to check Selecteer bestanden om te controleren - + Select directory to check Selecteer een map om te controleren - + No suitable files found to check! Geen geschikte bestanden gevonden om te controleren! @@ -353,47 +348,47 @@ Stop the checking before exiting. Stop de controle alvorens te sluiten. - + License Licentie - + Authors Auteurs - + XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv) - + Save the report file Rapport opslaan - + XML files (*.xml) XML bestanden (*.xml) - + Text files (*.txt) Tekst bestanden (*.txt) - + CSV files (*.csv) - + Cppcheck - %1 Cppcheck - %1 - + Failed to change the language: %1 @@ -407,37 +402,37 @@ Stop de controle alvorens te sluiten. %1 - + Finnish Fins - + English Engels - + Dutch Nederlands - + Swedish Zweeds - + German Duits - + Russian Russisch - + Polish Pools @@ -445,18 +440,18 @@ Stop de controle alvorens te sluiten. QObject - + Incorrect language specified! Ongeldige taal gespecifieerd! - + Language file %1 not found! Language file %1.qm not found! Kon het taalbestand niet vinden: %1! - + Failed to load translation for language %1 from file %2 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 - + File Bestand - + Severity Ernst - + Line Regel - + Message Boodschap @@ -494,33 +489,33 @@ Stop de controle alvorens te sluiten. Niet gedefinieerd bestand - + Copy filename Kopier bestandsnaam - + Copy full path Kopieer volledig pad - + Copy message - + Cppcheck Cppcheck - + Configure the text file viewer program in Cppcheck preferences/Applications. 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. - + Could not start %1 Please check the application path and parameters are correct. @@ -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. - + possible error Mogelijke fouten - + style Stijlfouten - - possible style - Mogelijke stijlfouten - - - + error Fouten @@ -552,31 +542,31 @@ Gelieve te controleren of de het pad en de parameters correct zijn. ResultsView - - + + Cppcheck Cppcheck - + No errors found. Geen fouten gevonden. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Fouten werden gevonden, maar volgens de configuratie zijn deze verborgen. Gebruik het uitzicht menu om te selecteren welke fouten getoond worden. - + No errors found, nothing to save. Geen fouten gevonden; geen data om op te slaan. - - + + Failed to save the report. 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 - + - - + + Cppcheck @@ -146,187 +146,182 @@ kate -l(line) (file) - + &Language - + &Help - + &Check - + &Edit - + Standard - + &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 possible false positives - + Show security errors - + Show style errors - - Show possible style errors - - - - + Show common errors - + &Check all - + &Uncheck all - + Collapse &all - + &Expand all - + &Toolbar - + &Contents - + Open the help contents - + F1 - + No suitable files found to check! - + Select files to check - + Select directory to check @@ -338,47 +333,47 @@ 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) - + CSV files (*.csv) - + Cppcheck - %1 - + Failed to change the language: %1 @@ -387,37 +382,37 @@ Stop the checking before exiting. - + English - + Dutch - + Finnish - + Swedish - + German - + Russian - + Polish @@ -425,17 +420,17 @@ Stop the checking before exiting. QObject - + Incorrect language specified! - + Language file %1 not found! - + Failed to load translation for language %1 from file %2 @@ -444,25 +439,25 @@ Stop the checking before exiting. ResultsTree - + File - + Severity - + Line - + Message @@ -472,54 +467,49 @@ Stop the checking before exiting. - + Copy filename - + Copy full path - + Copy message - + Cppcheck - + Configure the text file viewer program in Cppcheck preferences/Applications. - + Could not start %1 Please check the application path and parameters are correct. - + possible error - + style - - possible style - - - - + error @@ -527,30 +517,30 @@ 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_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 Cppcheck - + Standard - + Show possible false positives Показывать возможные ложные срабатывания @@ -159,177 +159,172 @@ kate -l(line) (file) Вид - + &Check Проверить - + &Edit Правка - + &License... Лицензия... - + A&uthors... Авторы... - + &About... О программе... - + &Files... Файлы... - + Ctrl+F Ctrl+F - + &Directory... Каталог... - + Ctrl+D Ctrl+D - + &Recheck files - + Ctrl+R Ctrl+R - + &Stop Остановить - + Esc Esc - + &Save results to file... Сохранить отчёт в файл... - + Ctrl+S 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 Панель инструментов - + &Contents - + Open the help contents - + F1 - + &Language Язык - + &Help Помощь - + Select files to check Выберите файлы для проверки - + Select directory to check Выберите каталог для проверки - + No suitable files found to check! @@ -341,47 +336,47 @@ 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) Текстовые файлы (*.txt) - + CSV files (*.csv) - + Cppcheck - %1 Cppcheck - %1 - + Failed to change the language: %1 @@ -397,37 +392,37 @@ Stop the checking before exiting. - + Finnish Финский - + English Английский - + Dutch - + Swedish Швецкий - + German Немецкий - + Russian Русский - + Polish @@ -435,18 +430,18 @@ Stop the checking before exiting. QObject - + Incorrect language specified! Выбран неверный язык! - + Language file %1 not found! Language file %1.qm not found! - + Failed to load translation for language %1 from file %2 Failed to load translation for language %1 from file %2.qm Ошибка загрузки переводов для языка %1 из файла %2 @@ -456,25 +451,25 @@ Stop the checking before exiting. ResultsTree - + File Файл - + Severity Важность - + Line Строка - + Message Сообщение @@ -484,55 +479,50 @@ Stop the checking before exiting. - + Copy filename Скопировать имя файла - + Copy full path Скопировать полный путь - + Copy message - + Cppcheck Cppcheck - + Configure the text file viewer program in Cppcheck preferences/Applications. You can open this error by specifying applications in program's settings. - + Could not start %1 Please check the application path and parameters are correct. - + possible error - + style - - possible style - - - - + error @@ -540,30 +530,30 @@ Please check the application path and parameters are correct. ResultsView - - + + Cppcheck 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_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 Cppcheck - + Standard Standard - + Show possible false positives Visa möjliga false positives @@ -169,178 +169,173 @@ kate -l(line) (file) &Visa - + &Check &Check - + &Edit &Redigera - + &License... &Licens... - + A&uthors... &Utvecklat av... - + &About... &Om... - + &Files... &Filer... - + Ctrl+F Ctrl+F - + &Directory... &Katalog... - + Ctrl+D Ctrl+D - + &Recheck files Starta &om check - + Ctrl+R Ctrl+R - + &Stop &Stoppa - + Esc Esc - + &Save results to file... &Spara resultat till fil... - + Ctrl+S Ctrl+S - + &Quit &Avsluta - + &Clear results &Töm resultat - + &Preferences &Inställningar - + Show security errors Säkerhetsvarningar - + Show style errors Stilvarningar - - Show possible style errors - Visa möjliga stilvarningar - - - + Show common errors Vanliga fel - + &Check all &Kryssa alla - + &Uncheck all Kryssa &ur alla - + Collapse &all Ingen bra översättning! &Fäll ihop alla - + &Expand all &Expandera alla - + &Toolbar &Verktyg - + &Contents - + Open the help contents - + F1 - + &Language &Språk - + &Help &Hjälp - + Select files to check Välj filer att kontrollera - + Select directory to check Välj katalog som skall kontrolleras - + No suitable files found to check! Inga lämpliga filer hittades! @@ -352,47 +347,47 @@ Stop the checking before exiting. Kan ej avsluta medans check pågår. - + License Licens - + Authors Utvecklare - + XML files (*.xml);;Text files (*.txt);;CSV files (*.csv) XML filer (*.xml);;Text filer (*.txt);;CSV filer (*.csv) - + Save the report file Spara rapport - + XML files (*.xml) XML filer (*.xml) - + Text files (*.txt) Text filer (*.txt) - + CSV files (*.csv) - + Cppcheck - %1 Cppcheck - %1 - + Failed to change the language: %1 @@ -408,37 +403,37 @@ Stop the checking before exiting. - + Finnish Finska - + English Engelska - + Dutch - + Swedish Svenska - + German Tyska - + Russian Ryska - + Polish Polska @@ -446,18 +441,18 @@ Stop the checking before exiting. QObject - + Incorrect language specified! valt språk är ej korrekt! - + Language file %1 not found! Language file %1.qm not found! Språk filen %1 hittades ej! - + Failed to load translation for language %1 from file %2 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 - + File Fil - + Severity Typ - + Line Rad - + Message Meddelande @@ -495,33 +490,33 @@ Stop the checking before exiting. Odefinierad fil - + Copy filename Kopiera filnamn - + Copy full path Kopiera full sökväg - + Copy message - + Cppcheck Cppcheck - + Configure the text file viewer program in Cppcheck preferences/Applications. You can open this error by specifying applications in program's settings. Konfigurera program i inställningar/program. - + Could not start %1 Please check the application path and parameters are correct. @@ -530,22 +525,17 @@ Please check the application path and parameters are correct. Kontrollera att sökvägen och parametrarna är korrekta. - + possible error Möjligt fel - + style stil - - possible style - Möjlig stil - - - + error fel @@ -553,31 +543,31 @@ Kontrollera att sökvägen och parametrarna är korrekta. ResultsView - - + + Cppcheck Cppcheck - + No errors found. Inga fel hittades. - + Errors were found, but they are configured to be hidden. To toggle what kind of errors are shown, open view menu. Fel hittades, men de visas ej. För att ställa in vilka fel som skall visas använd visa menyn. - + No errors found, nothing to save. Inga fel hittades, ingenting att spara. - - + + Failed to save the report. 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;