Fixed #1853 (GUI: Allow closing gui.exe while checking)
The GUI now asks if user wants to stop the current checking and exit the application.
This commit is contained in:
parent
d72365ab00
commit
f5024a7f67
|
@ -130,8 +130,8 @@ kate -l(line) (file)</oldsource>
|
||||||
<location filename="main.ui" line="26"/>
|
<location filename="main.ui" line="26"/>
|
||||||
<location filename="mainwindow.cpp" line="221"/>
|
<location filename="mainwindow.cpp" line="221"/>
|
||||||
<location filename="mainwindow.cpp" line="507"/>
|
<location filename="mainwindow.cpp" line="507"/>
|
||||||
<location filename="mainwindow.cpp" line="609"/>
|
<location filename="mainwindow.cpp" line="619"/>
|
||||||
<location filename="mainwindow.cpp" line="627"/>
|
<location filename="mainwindow.cpp" line="637"/>
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -361,35 +361,28 @@ kate -l(line) (file)</oldsource>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="503"/>
|
<location filename="mainwindow.cpp" line="544"/>
|
||||||
<source>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="mainwindow.cpp" line="534"/>
|
|
||||||
<source>License</source>
|
<source>License</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="541"/>
|
<location filename="mainwindow.cpp" line="551"/>
|
||||||
<source>Authors</source>
|
<source>Authors</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="549"/>
|
<location filename="mainwindow.cpp" line="559"/>
|
||||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="551"/>
|
<location filename="mainwindow.cpp" line="561"/>
|
||||||
<source>Save the report file</source>
|
<source>Save the report file</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="449"/>
|
<location filename="mainwindow.cpp" line="449"/>
|
||||||
<location filename="mainwindow.cpp" line="559"/>
|
<location filename="mainwindow.cpp" line="569"/>
|
||||||
<source>XML files (*.xml)</source>
|
<source>XML files (*.xml)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -399,22 +392,29 @@ Stop the checking before exiting.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="565"/>
|
<location filename="mainwindow.cpp" line="503"/>
|
||||||
|
<source>Checking is running.
|
||||||
|
|
||||||
|
Do you want to stop the checking and exit Cppcheck?.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="575"/>
|
||||||
<source>Text files (*.txt)</source>
|
<source>Text files (*.txt)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="571"/>
|
<location filename="mainwindow.cpp" line="581"/>
|
||||||
<source>CSV files (*.csv)</source>
|
<source>CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="611"/>
|
<location filename="mainwindow.cpp" line="621"/>
|
||||||
<source>Cppcheck - %1</source>
|
<source>Cppcheck - %1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="628"/>
|
<location filename="mainwindow.cpp" line="638"/>
|
||||||
<source>Failed to change the language:
|
<source>Failed to change the language:
|
||||||
|
|
||||||
%1
|
%1
|
||||||
|
@ -426,18 +426,18 @@ Stop the checking before exiting.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="695"/>
|
<location filename="mainwindow.cpp" line="705"/>
|
||||||
<location filename="mainwindow.cpp" line="711"/>
|
<location filename="mainwindow.cpp" line="721"/>
|
||||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="697"/>
|
<location filename="mainwindow.cpp" line="707"/>
|
||||||
<source>Select Project File</source>
|
<source>Select Project File</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="713"/>
|
<location filename="mainwindow.cpp" line="723"/>
|
||||||
<source>Select Project Filename</source>
|
<source>Select Project Filename</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -637,36 +637,36 @@ Please select the directory where file is located.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ResultsView</name>
|
<name>ResultsView</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="170"/>
|
||||||
<location filename="resultsview.cpp" line="182"/>
|
<location filename="resultsview.cpp" line="182"/>
|
||||||
<location filename="resultsview.cpp" line="194"/>
|
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="183"/>
|
<location filename="resultsview.cpp" line="171"/>
|
||||||
<source>No errors found.</source>
|
<source>No errors found.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="191"/>
|
<location filename="resultsview.cpp" line="179"/>
|
||||||
<source>Errors were found, but they are configured to be hidden.
|
<source>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="240"/>
|
<location filename="resultsview.cpp" line="228"/>
|
||||||
<location filename="resultsview.cpp" line="250"/>
|
<location filename="resultsview.cpp" line="238"/>
|
||||||
<source>Failed to read the report.</source>
|
<source>Failed to read the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="109"/>
|
<location filename="resultsview.cpp" line="97"/>
|
||||||
<source>No errors found, nothing to save.</source>
|
<source>No errors found, nothing to save.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="136"/>
|
<location filename="resultsview.cpp" line="124"/>
|
||||||
<location filename="resultsview.cpp" line="146"/>
|
<location filename="resultsview.cpp" line="134"/>
|
||||||
<source>Failed to save the report.</source>
|
<source>Failed to save the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -143,8 +143,8 @@ kate -l(line) (file)</translation>
|
||||||
<location filename="main.ui" line="26"/>
|
<location filename="main.ui" line="26"/>
|
||||||
<location filename="mainwindow.cpp" line="221"/>
|
<location filename="mainwindow.cpp" line="221"/>
|
||||||
<location filename="mainwindow.cpp" line="507"/>
|
<location filename="mainwindow.cpp" line="507"/>
|
||||||
<location filename="mainwindow.cpp" line="609"/>
|
<location filename="mainwindow.cpp" line="619"/>
|
||||||
<location filename="mainwindow.cpp" line="627"/>
|
<location filename="mainwindow.cpp" line="637"/>
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -374,37 +374,28 @@ kate -l(line) (file)</translation>
|
||||||
<translation>No suitable files found to check!</translation>
|
<translation>No suitable files found to check!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="503"/>
|
<location filename="mainwindow.cpp" line="544"/>
|
||||||
<source>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</source>
|
|
||||||
<translation>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="mainwindow.cpp" line="534"/>
|
|
||||||
<source>License</source>
|
<source>License</source>
|
||||||
<translation>License</translation>
|
<translation>License</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="541"/>
|
<location filename="mainwindow.cpp" line="551"/>
|
||||||
<source>Authors</source>
|
<source>Authors</source>
|
||||||
<translation>Authors</translation>
|
<translation>Authors</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="549"/>
|
<location filename="mainwindow.cpp" line="559"/>
|
||||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||||
<translation>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
|
<translation>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="551"/>
|
<location filename="mainwindow.cpp" line="561"/>
|
||||||
<source>Save the report file</source>
|
<source>Save the report file</source>
|
||||||
<translation>Save the report file</translation>
|
<translation>Save the report file</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="449"/>
|
<location filename="mainwindow.cpp" line="449"/>
|
||||||
<location filename="mainwindow.cpp" line="559"/>
|
<location filename="mainwindow.cpp" line="569"/>
|
||||||
<source>XML files (*.xml)</source>
|
<source>XML files (*.xml)</source>
|
||||||
<translation>XML files (*.xml)</translation>
|
<translation>XML files (*.xml)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -414,22 +405,29 @@ Stop the checking before exiting.</translation>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="565"/>
|
<location filename="mainwindow.cpp" line="503"/>
|
||||||
|
<source>Checking is running.
|
||||||
|
|
||||||
|
Do you want to stop the checking and exit Cppcheck?.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="575"/>
|
||||||
<source>Text files (*.txt)</source>
|
<source>Text files (*.txt)</source>
|
||||||
<translation>Text files (*.txt)</translation>
|
<translation>Text files (*.txt)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="571"/>
|
<location filename="mainwindow.cpp" line="581"/>
|
||||||
<source>CSV files (*.csv)</source>
|
<source>CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="611"/>
|
<location filename="mainwindow.cpp" line="621"/>
|
||||||
<source>Cppcheck - %1</source>
|
<source>Cppcheck - %1</source>
|
||||||
<translation>Cppcheck - %1</translation>
|
<translation>Cppcheck - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="628"/>
|
<location filename="mainwindow.cpp" line="638"/>
|
||||||
<source>Failed to change the language:
|
<source>Failed to change the language:
|
||||||
|
|
||||||
%1
|
%1
|
||||||
|
@ -443,18 +441,18 @@ Stop the checking before exiting.</translation>
|
||||||
%1</translation>
|
%1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="695"/>
|
<location filename="mainwindow.cpp" line="705"/>
|
||||||
<location filename="mainwindow.cpp" line="711"/>
|
<location filename="mainwindow.cpp" line="721"/>
|
||||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="697"/>
|
<location filename="mainwindow.cpp" line="707"/>
|
||||||
<source>Select Project File</source>
|
<source>Select Project File</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="713"/>
|
<location filename="mainwindow.cpp" line="723"/>
|
||||||
<source>Select Project Filename</source>
|
<source>Select Project Filename</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -656,37 +654,37 @@ Please select the directory where file is located.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ResultsView</name>
|
<name>ResultsView</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="170"/>
|
||||||
<location filename="resultsview.cpp" line="182"/>
|
<location filename="resultsview.cpp" line="182"/>
|
||||||
<location filename="resultsview.cpp" line="194"/>
|
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="183"/>
|
<location filename="resultsview.cpp" line="171"/>
|
||||||
<source>No errors found.</source>
|
<source>No errors found.</source>
|
||||||
<translation>No errors found.</translation>
|
<translation>No errors found.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="191"/>
|
<location filename="resultsview.cpp" line="179"/>
|
||||||
<source>Errors were found, but they are configured to be hidden.
|
<source>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation>Errors were found, but they are configured to be hidden.
|
<translation>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</translation>
|
To toggle what kind of errors are shown, open view menu.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="240"/>
|
<location filename="resultsview.cpp" line="228"/>
|
||||||
<location filename="resultsview.cpp" line="250"/>
|
<location filename="resultsview.cpp" line="238"/>
|
||||||
<source>Failed to read the report.</source>
|
<source>Failed to read the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="109"/>
|
<location filename="resultsview.cpp" line="97"/>
|
||||||
<source>No errors found, nothing to save.</source>
|
<source>No errors found, nothing to save.</source>
|
||||||
<translation>No errors found, nothing to save.</translation>
|
<translation>No errors found, nothing to save.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="136"/>
|
<location filename="resultsview.cpp" line="124"/>
|
||||||
<location filename="resultsview.cpp" line="146"/>
|
<location filename="resultsview.cpp" line="134"/>
|
||||||
<source>Failed to save the report.</source>
|
<source>Failed to save the report.</source>
|
||||||
<translation>Failed to save the report.</translation>
|
<translation>Failed to save the report.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -145,8 +145,8 @@ kate -l(line) (file)
|
||||||
<location filename="main.ui" line="26"/>
|
<location filename="main.ui" line="26"/>
|
||||||
<location filename="mainwindow.cpp" line="221"/>
|
<location filename="mainwindow.cpp" line="221"/>
|
||||||
<location filename="mainwindow.cpp" line="507"/>
|
<location filename="mainwindow.cpp" line="507"/>
|
||||||
<location filename="mainwindow.cpp" line="609"/>
|
<location filename="mainwindow.cpp" line="619"/>
|
||||||
<location filename="mainwindow.cpp" line="627"/>
|
<location filename="mainwindow.cpp" line="637"/>
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -376,37 +376,28 @@ kate -l(line) (file)
|
||||||
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
|
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="503"/>
|
<location filename="mainwindow.cpp" line="544"/>
|
||||||
<source>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</source>
|
|
||||||
<translation>Ohjelmaa ei voi sammuttaa tarkistuksen ollessa käynnissä.
|
|
||||||
|
|
||||||
Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="mainwindow.cpp" line="534"/>
|
|
||||||
<source>License</source>
|
<source>License</source>
|
||||||
<translation>Lisenssi</translation>
|
<translation>Lisenssi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="541"/>
|
<location filename="mainwindow.cpp" line="551"/>
|
||||||
<source>Authors</source>
|
<source>Authors</source>
|
||||||
<translation>Tekijät</translation>
|
<translation>Tekijät</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="549"/>
|
<location filename="mainwindow.cpp" line="559"/>
|
||||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||||
<translation>XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation>
|
<translation>XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="551"/>
|
<location filename="mainwindow.cpp" line="561"/>
|
||||||
<source>Save the report file</source>
|
<source>Save the report file</source>
|
||||||
<translation>Tallenna raportti</translation>
|
<translation>Tallenna raportti</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="449"/>
|
<location filename="mainwindow.cpp" line="449"/>
|
||||||
<location filename="mainwindow.cpp" line="559"/>
|
<location filename="mainwindow.cpp" line="569"/>
|
||||||
<source>XML files (*.xml)</source>
|
<source>XML files (*.xml)</source>
|
||||||
<translation>XML-tiedostot (*xml)</translation>
|
<translation>XML-tiedostot (*xml)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -416,22 +407,29 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="565"/>
|
<location filename="mainwindow.cpp" line="503"/>
|
||||||
|
<source>Checking is running.
|
||||||
|
|
||||||
|
Do you want to stop the checking and exit Cppcheck?.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="575"/>
|
||||||
<source>Text files (*.txt)</source>
|
<source>Text files (*.txt)</source>
|
||||||
<translation>Tekstitiedostot (*.txt)</translation>
|
<translation>Tekstitiedostot (*.txt)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="571"/>
|
<location filename="mainwindow.cpp" line="581"/>
|
||||||
<source>CSV files (*.csv)</source>
|
<source>CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="611"/>
|
<location filename="mainwindow.cpp" line="621"/>
|
||||||
<source>Cppcheck - %1</source>
|
<source>Cppcheck - %1</source>
|
||||||
<translation>Cppcheck - %1</translation>
|
<translation>Cppcheck - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="628"/>
|
<location filename="mainwindow.cpp" line="638"/>
|
||||||
<source>Failed to change the language:
|
<source>Failed to change the language:
|
||||||
|
|
||||||
%1
|
%1
|
||||||
|
@ -447,18 +445,18 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="695"/>
|
<location filename="mainwindow.cpp" line="705"/>
|
||||||
<location filename="mainwindow.cpp" line="711"/>
|
<location filename="mainwindow.cpp" line="721"/>
|
||||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="697"/>
|
<location filename="mainwindow.cpp" line="707"/>
|
||||||
<source>Select Project File</source>
|
<source>Select Project File</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="713"/>
|
<location filename="mainwindow.cpp" line="723"/>
|
||||||
<source>Select Project Filename</source>
|
<source>Select Project Filename</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -660,37 +658,37 @@ Please select the directory where file is located.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ResultsView</name>
|
<name>ResultsView</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="170"/>
|
||||||
<location filename="resultsview.cpp" line="182"/>
|
<location filename="resultsview.cpp" line="182"/>
|
||||||
<location filename="resultsview.cpp" line="194"/>
|
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="183"/>
|
<location filename="resultsview.cpp" line="171"/>
|
||||||
<source>No errors found.</source>
|
<source>No errors found.</source>
|
||||||
<translation>Virheitä ei löytynyt.</translation>
|
<translation>Virheitä ei löytynyt.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="191"/>
|
<location filename="resultsview.cpp" line="179"/>
|
||||||
<source>Errors were found, but they are configured to be hidden.
|
<source>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation>Virheitä löytyi, mutta asetuksissa kyseiset virheet on määritelty piilotettavaksi.
|
<translation>Virheitä löytyi, mutta asetuksissa kyseiset virheet on määritelty piilotettavaksi.
|
||||||
Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valikko.</translation>
|
Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valikko.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="240"/>
|
<location filename="resultsview.cpp" line="228"/>
|
||||||
<location filename="resultsview.cpp" line="250"/>
|
<location filename="resultsview.cpp" line="238"/>
|
||||||
<source>Failed to read the report.</source>
|
<source>Failed to read the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="109"/>
|
<location filename="resultsview.cpp" line="97"/>
|
||||||
<source>No errors found, nothing to save.</source>
|
<source>No errors found, nothing to save.</source>
|
||||||
<translation>Virheitä ei löytynyt, ei mitään tallennettavaa.</translation>
|
<translation>Virheitä ei löytynyt, ei mitään tallennettavaa.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="136"/>
|
<location filename="resultsview.cpp" line="124"/>
|
||||||
<location filename="resultsview.cpp" line="146"/>
|
<location filename="resultsview.cpp" line="134"/>
|
||||||
<source>Failed to save the report.</source>
|
<source>Failed to save the report.</source>
|
||||||
<translation>Raportin tallentaminen epäonnistui.</translation>
|
<translation>Raportin tallentaminen epäonnistui.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -143,8 +143,8 @@ kate -l(line) (file)</translation>
|
||||||
<location filename="main.ui" line="26"/>
|
<location filename="main.ui" line="26"/>
|
||||||
<location filename="mainwindow.cpp" line="221"/>
|
<location filename="mainwindow.cpp" line="221"/>
|
||||||
<location filename="mainwindow.cpp" line="507"/>
|
<location filename="mainwindow.cpp" line="507"/>
|
||||||
<location filename="mainwindow.cpp" line="609"/>
|
<location filename="mainwindow.cpp" line="619"/>
|
||||||
<location filename="mainwindow.cpp" line="627"/>
|
<location filename="mainwindow.cpp" line="637"/>
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -374,37 +374,28 @@ kate -l(line) (file)</translation>
|
||||||
<translation>Geen geschikte bestanden gevonden om te controleren!</translation>
|
<translation>Geen geschikte bestanden gevonden om te controleren!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="503"/>
|
<location filename="mainwindow.cpp" line="544"/>
|
||||||
<source>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</source>
|
|
||||||
<translation>Kan niet termineren terwijl een controle bezig is.
|
|
||||||
|
|
||||||
Stop de controle alvorens te sluiten.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="mainwindow.cpp" line="534"/>
|
|
||||||
<source>License</source>
|
<source>License</source>
|
||||||
<translation>Licentie</translation>
|
<translation>Licentie</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="541"/>
|
<location filename="mainwindow.cpp" line="551"/>
|
||||||
<source>Authors</source>
|
<source>Authors</source>
|
||||||
<translation>Auteurs</translation>
|
<translation>Auteurs</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="549"/>
|
<location filename="mainwindow.cpp" line="559"/>
|
||||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||||
<translation>XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)</translation>
|
<translation>XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="551"/>
|
<location filename="mainwindow.cpp" line="561"/>
|
||||||
<source>Save the report file</source>
|
<source>Save the report file</source>
|
||||||
<translation>Rapport opslaan </translation>
|
<translation>Rapport opslaan </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="449"/>
|
<location filename="mainwindow.cpp" line="449"/>
|
||||||
<location filename="mainwindow.cpp" line="559"/>
|
<location filename="mainwindow.cpp" line="569"/>
|
||||||
<source>XML files (*.xml)</source>
|
<source>XML files (*.xml)</source>
|
||||||
<translation>XML bestanden (*.xml)</translation>
|
<translation>XML bestanden (*.xml)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -414,22 +405,29 @@ Stop de controle alvorens te sluiten.</translation>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="565"/>
|
<location filename="mainwindow.cpp" line="503"/>
|
||||||
|
<source>Checking is running.
|
||||||
|
|
||||||
|
Do you want to stop the checking and exit Cppcheck?.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="575"/>
|
||||||
<source>Text files (*.txt)</source>
|
<source>Text files (*.txt)</source>
|
||||||
<translation>Tekst bestanden (*.txt)</translation>
|
<translation>Tekst bestanden (*.txt)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="571"/>
|
<location filename="mainwindow.cpp" line="581"/>
|
||||||
<source>CSV files (*.csv)</source>
|
<source>CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="611"/>
|
<location filename="mainwindow.cpp" line="621"/>
|
||||||
<source>Cppcheck - %1</source>
|
<source>Cppcheck - %1</source>
|
||||||
<translation>Cppcheck - %1</translation>
|
<translation>Cppcheck - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="628"/>
|
<location filename="mainwindow.cpp" line="638"/>
|
||||||
<source>Failed to change the language:
|
<source>Failed to change the language:
|
||||||
|
|
||||||
%1
|
%1
|
||||||
|
@ -443,18 +441,18 @@ Stop de controle alvorens te sluiten.</translation>
|
||||||
%1</translation>
|
%1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="695"/>
|
<location filename="mainwindow.cpp" line="705"/>
|
||||||
<location filename="mainwindow.cpp" line="711"/>
|
<location filename="mainwindow.cpp" line="721"/>
|
||||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="697"/>
|
<location filename="mainwindow.cpp" line="707"/>
|
||||||
<source>Select Project File</source>
|
<source>Select Project File</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="713"/>
|
<location filename="mainwindow.cpp" line="723"/>
|
||||||
<source>Select Project Filename</source>
|
<source>Select Project Filename</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -656,37 +654,37 @@ Please select the directory where file is located.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ResultsView</name>
|
<name>ResultsView</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="170"/>
|
||||||
<location filename="resultsview.cpp" line="182"/>
|
<location filename="resultsview.cpp" line="182"/>
|
||||||
<location filename="resultsview.cpp" line="194"/>
|
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="183"/>
|
<location filename="resultsview.cpp" line="171"/>
|
||||||
<source>No errors found.</source>
|
<source>No errors found.</source>
|
||||||
<translation>Geen fouten gevonden.</translation>
|
<translation>Geen fouten gevonden.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="191"/>
|
<location filename="resultsview.cpp" line="179"/>
|
||||||
<source>Errors were found, but they are configured to be hidden.
|
<source>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation>Fouten werden gevonden, maar volgens de configuratie zijn deze verborgen.
|
<translation>Fouten werden gevonden, maar volgens de configuratie zijn deze verborgen.
|
||||||
Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.</translation>
|
Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="240"/>
|
<location filename="resultsview.cpp" line="228"/>
|
||||||
<location filename="resultsview.cpp" line="250"/>
|
<location filename="resultsview.cpp" line="238"/>
|
||||||
<source>Failed to read the report.</source>
|
<source>Failed to read the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="109"/>
|
<location filename="resultsview.cpp" line="97"/>
|
||||||
<source>No errors found, nothing to save.</source>
|
<source>No errors found, nothing to save.</source>
|
||||||
<translation>Geen fouten gevonden; geen data om op te slaan.</translation>
|
<translation>Geen fouten gevonden; geen data om op te slaan.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="136"/>
|
<location filename="resultsview.cpp" line="124"/>
|
||||||
<location filename="resultsview.cpp" line="146"/>
|
<location filename="resultsview.cpp" line="134"/>
|
||||||
<source>Failed to save the report.</source>
|
<source>Failed to save the report.</source>
|
||||||
<translation>Kon het rapport niet opslaan.</translation>
|
<translation>Kon het rapport niet opslaan.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -130,8 +130,8 @@ kate -l(line) (file)</oldsource>
|
||||||
<location filename="main.ui" line="26"/>
|
<location filename="main.ui" line="26"/>
|
||||||
<location filename="mainwindow.cpp" line="221"/>
|
<location filename="mainwindow.cpp" line="221"/>
|
||||||
<location filename="mainwindow.cpp" line="507"/>
|
<location filename="mainwindow.cpp" line="507"/>
|
||||||
<location filename="mainwindow.cpp" line="609"/>
|
<location filename="mainwindow.cpp" line="619"/>
|
||||||
<location filename="mainwindow.cpp" line="627"/>
|
<location filename="mainwindow.cpp" line="637"/>
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -366,60 +366,60 @@ kate -l(line) (file)</oldsource>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="503"/>
|
<location filename="mainwindow.cpp" line="544"/>
|
||||||
<source>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="mainwindow.cpp" line="534"/>
|
|
||||||
<source>License</source>
|
<source>License</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="541"/>
|
<location filename="mainwindow.cpp" line="551"/>
|
||||||
<source>Authors</source>
|
<source>Authors</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="549"/>
|
<location filename="mainwindow.cpp" line="559"/>
|
||||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="551"/>
|
<location filename="mainwindow.cpp" line="561"/>
|
||||||
<source>Save the report file</source>
|
<source>Save the report file</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="713"/>
|
<location filename="mainwindow.cpp" line="723"/>
|
||||||
<source>Select Project Filename</source>
|
<source>Select Project Filename</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="449"/>
|
<location filename="mainwindow.cpp" line="449"/>
|
||||||
<location filename="mainwindow.cpp" line="559"/>
|
<location filename="mainwindow.cpp" line="569"/>
|
||||||
<source>XML files (*.xml)</source>
|
<source>XML files (*.xml)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="565"/>
|
<location filename="mainwindow.cpp" line="503"/>
|
||||||
|
<source>Checking is running.
|
||||||
|
|
||||||
|
Do you want to stop the checking and exit Cppcheck?.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="575"/>
|
||||||
<source>Text files (*.txt)</source>
|
<source>Text files (*.txt)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="571"/>
|
<location filename="mainwindow.cpp" line="581"/>
|
||||||
<source>CSV files (*.csv)</source>
|
<source>CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="611"/>
|
<location filename="mainwindow.cpp" line="621"/>
|
||||||
<source>Cppcheck - %1</source>
|
<source>Cppcheck - %1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="628"/>
|
<location filename="mainwindow.cpp" line="638"/>
|
||||||
<source>Failed to change the language:
|
<source>Failed to change the language:
|
||||||
|
|
||||||
%1
|
%1
|
||||||
|
@ -428,13 +428,13 @@ Stop the checking before exiting.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="695"/>
|
<location filename="mainwindow.cpp" line="705"/>
|
||||||
<location filename="mainwindow.cpp" line="711"/>
|
<location filename="mainwindow.cpp" line="721"/>
|
||||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="697"/>
|
<location filename="mainwindow.cpp" line="707"/>
|
||||||
<source>Select Project File</source>
|
<source>Select Project File</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -631,36 +631,36 @@ Please select the directory where file is located.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ResultsView</name>
|
<name>ResultsView</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="170"/>
|
||||||
<location filename="resultsview.cpp" line="182"/>
|
<location filename="resultsview.cpp" line="182"/>
|
||||||
<location filename="resultsview.cpp" line="194"/>
|
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="183"/>
|
<location filename="resultsview.cpp" line="171"/>
|
||||||
<source>No errors found.</source>
|
<source>No errors found.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="191"/>
|
<location filename="resultsview.cpp" line="179"/>
|
||||||
<source>Errors were found, but they are configured to be hidden.
|
<source>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="240"/>
|
<location filename="resultsview.cpp" line="228"/>
|
||||||
<location filename="resultsview.cpp" line="250"/>
|
<location filename="resultsview.cpp" line="238"/>
|
||||||
<source>Failed to read the report.</source>
|
<source>Failed to read the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="109"/>
|
<location filename="resultsview.cpp" line="97"/>
|
||||||
<source>No errors found, nothing to save.</source>
|
<source>No errors found, nothing to save.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="136"/>
|
<location filename="resultsview.cpp" line="124"/>
|
||||||
<location filename="resultsview.cpp" line="146"/>
|
<location filename="resultsview.cpp" line="134"/>
|
||||||
<source>Failed to save the report.</source>
|
<source>Failed to save the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -133,8 +133,8 @@ kate -l(line) (file)</oldsource>
|
||||||
<location filename="main.ui" line="26"/>
|
<location filename="main.ui" line="26"/>
|
||||||
<location filename="mainwindow.cpp" line="221"/>
|
<location filename="mainwindow.cpp" line="221"/>
|
||||||
<location filename="mainwindow.cpp" line="507"/>
|
<location filename="mainwindow.cpp" line="507"/>
|
||||||
<location filename="mainwindow.cpp" line="609"/>
|
<location filename="mainwindow.cpp" line="619"/>
|
||||||
<location filename="mainwindow.cpp" line="627"/>
|
<location filename="mainwindow.cpp" line="637"/>
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -364,35 +364,28 @@ kate -l(line) (file)</oldsource>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="503"/>
|
<location filename="mainwindow.cpp" line="544"/>
|
||||||
<source>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="mainwindow.cpp" line="534"/>
|
|
||||||
<source>License</source>
|
<source>License</source>
|
||||||
<translation>Лицензия</translation>
|
<translation>Лицензия</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="541"/>
|
<location filename="mainwindow.cpp" line="551"/>
|
||||||
<source>Authors</source>
|
<source>Authors</source>
|
||||||
<translation>Авторы</translation>
|
<translation>Авторы</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="549"/>
|
<location filename="mainwindow.cpp" line="559"/>
|
||||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="551"/>
|
<location filename="mainwindow.cpp" line="561"/>
|
||||||
<source>Save the report file</source>
|
<source>Save the report file</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="449"/>
|
<location filename="mainwindow.cpp" line="449"/>
|
||||||
<location filename="mainwindow.cpp" line="559"/>
|
<location filename="mainwindow.cpp" line="569"/>
|
||||||
<source>XML files (*.xml)</source>
|
<source>XML files (*.xml)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -402,22 +395,29 @@ Stop the checking before exiting.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="565"/>
|
<location filename="mainwindow.cpp" line="503"/>
|
||||||
|
<source>Checking is running.
|
||||||
|
|
||||||
|
Do you want to stop the checking and exit Cppcheck?.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="575"/>
|
||||||
<source>Text files (*.txt)</source>
|
<source>Text files (*.txt)</source>
|
||||||
<translation>Текстовые файлы (*.txt)</translation>
|
<translation>Текстовые файлы (*.txt)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="571"/>
|
<location filename="mainwindow.cpp" line="581"/>
|
||||||
<source>CSV files (*.csv)</source>
|
<source>CSV files (*.csv)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="611"/>
|
<location filename="mainwindow.cpp" line="621"/>
|
||||||
<source>Cppcheck - %1</source>
|
<source>Cppcheck - %1</source>
|
||||||
<translation>Cppcheck - %1</translation>
|
<translation>Cppcheck - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="628"/>
|
<location filename="mainwindow.cpp" line="638"/>
|
||||||
<source>Failed to change the language:
|
<source>Failed to change the language:
|
||||||
|
|
||||||
%1
|
%1
|
||||||
|
@ -433,18 +433,18 @@ Stop the checking before exiting.</source>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="695"/>
|
<location filename="mainwindow.cpp" line="705"/>
|
||||||
<location filename="mainwindow.cpp" line="711"/>
|
<location filename="mainwindow.cpp" line="721"/>
|
||||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="697"/>
|
<location filename="mainwindow.cpp" line="707"/>
|
||||||
<source>Select Project File</source>
|
<source>Select Project File</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="713"/>
|
<location filename="mainwindow.cpp" line="723"/>
|
||||||
<source>Select Project Filename</source>
|
<source>Select Project Filename</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -644,36 +644,36 @@ Please select the directory where file is located.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ResultsView</name>
|
<name>ResultsView</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="170"/>
|
||||||
<location filename="resultsview.cpp" line="182"/>
|
<location filename="resultsview.cpp" line="182"/>
|
||||||
<location filename="resultsview.cpp" line="194"/>
|
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="183"/>
|
<location filename="resultsview.cpp" line="171"/>
|
||||||
<source>No errors found.</source>
|
<source>No errors found.</source>
|
||||||
<translation>Ошибок не найдено.</translation>
|
<translation>Ошибок не найдено.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="191"/>
|
<location filename="resultsview.cpp" line="179"/>
|
||||||
<source>Errors were found, but they are configured to be hidden.
|
<source>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="240"/>
|
<location filename="resultsview.cpp" line="228"/>
|
||||||
<location filename="resultsview.cpp" line="250"/>
|
<location filename="resultsview.cpp" line="238"/>
|
||||||
<source>Failed to read the report.</source>
|
<source>Failed to read the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="109"/>
|
<location filename="resultsview.cpp" line="97"/>
|
||||||
<source>No errors found, nothing to save.</source>
|
<source>No errors found, nothing to save.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="136"/>
|
<location filename="resultsview.cpp" line="124"/>
|
||||||
<location filename="resultsview.cpp" line="146"/>
|
<location filename="resultsview.cpp" line="134"/>
|
||||||
<source>Failed to save the report.</source>
|
<source>Failed to save the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -143,8 +143,8 @@ kate -l(line) (file)</translation>
|
||||||
<location filename="main.ui" line="26"/>
|
<location filename="main.ui" line="26"/>
|
||||||
<location filename="mainwindow.cpp" line="221"/>
|
<location filename="mainwindow.cpp" line="221"/>
|
||||||
<location filename="mainwindow.cpp" line="507"/>
|
<location filename="mainwindow.cpp" line="507"/>
|
||||||
<location filename="mainwindow.cpp" line="609"/>
|
<location filename="mainwindow.cpp" line="619"/>
|
||||||
<location filename="mainwindow.cpp" line="627"/>
|
<location filename="mainwindow.cpp" line="637"/>
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -375,35 +375,28 @@ kate -l(line) (file)</translation>
|
||||||
<translation>Inga lämpliga filer hittades!</translation>
|
<translation>Inga lämpliga filer hittades!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="503"/>
|
<location filename="mainwindow.cpp" line="544"/>
|
||||||
<source>Cannot exit while checking.
|
|
||||||
|
|
||||||
Stop the checking before exiting.</source>
|
|
||||||
<translation>Kan ej avsluta medans check pågår.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="mainwindow.cpp" line="534"/>
|
|
||||||
<source>License</source>
|
<source>License</source>
|
||||||
<translation>Licens</translation>
|
<translation>Licens</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="541"/>
|
<location filename="mainwindow.cpp" line="551"/>
|
||||||
<source>Authors</source>
|
<source>Authors</source>
|
||||||
<translation>Utvecklare</translation>
|
<translation>Utvecklare</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="549"/>
|
<location filename="mainwindow.cpp" line="559"/>
|
||||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||||
<translation>XML filer (*.xml);;Text filer (*.txt);;CSV filer (*.csv)</translation>
|
<translation>XML filer (*.xml);;Text filer (*.txt);;CSV filer (*.csv)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="551"/>
|
<location filename="mainwindow.cpp" line="561"/>
|
||||||
<source>Save the report file</source>
|
<source>Save the report file</source>
|
||||||
<translation>Spara rapport</translation>
|
<translation>Spara rapport</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="449"/>
|
<location filename="mainwindow.cpp" line="449"/>
|
||||||
<location filename="mainwindow.cpp" line="559"/>
|
<location filename="mainwindow.cpp" line="569"/>
|
||||||
<source>XML files (*.xml)</source>
|
<source>XML files (*.xml)</source>
|
||||||
<translation>XML filer (*.xml)</translation>
|
<translation>XML filer (*.xml)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -413,22 +406,29 @@ Stop the checking before exiting.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="565"/>
|
<location filename="mainwindow.cpp" line="503"/>
|
||||||
|
<source>Checking is running.
|
||||||
|
|
||||||
|
Do you want to stop the checking and exit Cppcheck?.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="575"/>
|
||||||
<source>Text files (*.txt)</source>
|
<source>Text files (*.txt)</source>
|
||||||
<translation>Text filer (*.txt)</translation>
|
<translation>Text filer (*.txt)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="571"/>
|
<location filename="mainwindow.cpp" line="581"/>
|
||||||
<source>CSV files (*.csv)</source>
|
<source>CSV files (*.csv)</source>
|
||||||
<translation>CSV filer (*.csv)</translation>
|
<translation>CSV filer (*.csv)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="611"/>
|
<location filename="mainwindow.cpp" line="621"/>
|
||||||
<source>Cppcheck - %1</source>
|
<source>Cppcheck - %1</source>
|
||||||
<translation>Cppcheck - %1</translation>
|
<translation>Cppcheck - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="628"/>
|
<location filename="mainwindow.cpp" line="638"/>
|
||||||
<source>Failed to change the language:
|
<source>Failed to change the language:
|
||||||
|
|
||||||
%1
|
%1
|
||||||
|
@ -444,18 +444,18 @@ Stop the checking before exiting.</source>
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="695"/>
|
<location filename="mainwindow.cpp" line="705"/>
|
||||||
<location filename="mainwindow.cpp" line="711"/>
|
<location filename="mainwindow.cpp" line="721"/>
|
||||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="697"/>
|
<location filename="mainwindow.cpp" line="707"/>
|
||||||
<source>Select Project File</source>
|
<source>Select Project File</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="713"/>
|
<location filename="mainwindow.cpp" line="723"/>
|
||||||
<source>Select Project Filename</source>
|
<source>Select Project Filename</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -657,37 +657,37 @@ Please select the directory where file is located.</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ResultsView</name>
|
<name>ResultsView</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="resultsview.cpp" line="170"/>
|
||||||
<location filename="resultsview.cpp" line="182"/>
|
<location filename="resultsview.cpp" line="182"/>
|
||||||
<location filename="resultsview.cpp" line="194"/>
|
|
||||||
<source>Cppcheck</source>
|
<source>Cppcheck</source>
|
||||||
<translation>Cppcheck</translation>
|
<translation>Cppcheck</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="183"/>
|
<location filename="resultsview.cpp" line="171"/>
|
||||||
<source>No errors found.</source>
|
<source>No errors found.</source>
|
||||||
<translation>Inga fel hittades.</translation>
|
<translation>Inga fel hittades.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="191"/>
|
<location filename="resultsview.cpp" line="179"/>
|
||||||
<source>Errors were found, but they are configured to be hidden.
|
<source>Errors were found, but they are configured to be hidden.
|
||||||
To toggle what kind of errors are shown, open view menu.</source>
|
To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation>Fel hittades, men de visas ej.
|
<translation>Fel hittades, men de visas ej.
|
||||||
För att ställa in vilka fel som skall visas använd visa menyn.</translation>
|
För att ställa in vilka fel som skall visas använd visa menyn.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="240"/>
|
<location filename="resultsview.cpp" line="228"/>
|
||||||
<location filename="resultsview.cpp" line="250"/>
|
<location filename="resultsview.cpp" line="238"/>
|
||||||
<source>Failed to read the report.</source>
|
<source>Failed to read the report.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="109"/>
|
<location filename="resultsview.cpp" line="97"/>
|
||||||
<source>No errors found, nothing to save.</source>
|
<source>No errors found, nothing to save.</source>
|
||||||
<translation>Inga fel hittades, ingenting att spara.</translation>
|
<translation>Inga fel hittades, ingenting att spara.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="resultsview.cpp" line="136"/>
|
<location filename="resultsview.cpp" line="124"/>
|
||||||
<location filename="resultsview.cpp" line="146"/>
|
<location filename="resultsview.cpp" line="134"/>
|
||||||
<source>Failed to save the report.</source>
|
<source>Failed to save the report.</source>
|
||||||
<translation>Misslyckades med att spara rapporten.</translation>
|
<translation>Misslyckades med att spara rapporten.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -500,16 +500,26 @@ void MainWindow::closeEvent(QCloseEvent *event)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QString text(tr("Cannot exit while checking.\n\n" \
|
QString text(tr("Checking is running.\n\n" \
|
||||||
"Stop the checking before exiting."));
|
"Do you want to stop the checking and exit Cppcheck?."));
|
||||||
|
|
||||||
QMessageBox msg(QMessageBox::Warning,
|
QMessageBox msg(QMessageBox::Warning,
|
||||||
tr("Cppcheck"),
|
tr("Cppcheck"),
|
||||||
text,
|
text,
|
||||||
QMessageBox::Ok,
|
QMessageBox::Yes | QMessageBox::No,
|
||||||
this);
|
this);
|
||||||
|
|
||||||
msg.exec();
|
msg.setDefaultButton(QMessageBox::No);
|
||||||
|
int rv = msg.exec();
|
||||||
|
if (rv == QMessageBox::Yes)
|
||||||
|
{
|
||||||
|
// This isn't really very clean way to close threads but since the app is
|
||||||
|
// exiting it doesn't matter.
|
||||||
|
mThread->Stop();
|
||||||
|
SaveSettings();
|
||||||
|
event->accept();
|
||||||
|
}
|
||||||
|
else
|
||||||
event->ignore();
|
event->ignore();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue