1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00

testing/cppcheck: upgrade to 1.73

This commit is contained in:
AmatCoder 2016-05-28 09:46:27 +00:00 committed by Jakub Jirutka
parent ba29897fd8
commit 92f85a405c
3 changed files with 25 additions and 36 deletions

View file

@ -1,5 +1,5 @@
--- cppcheck-1.68-origin/gui/main.cpp
+++ cppcheck-1.68/gui/main.cpp
--- cppcheck-1.73-origin/gui/main.cpp
+++ cppcheck-1.73/gui/main.cpp
@@ -57,12 +57,18 @@
QSettings* settings = new QSettings("Cppcheck", "Cppcheck-GUI", &app);
@ -7,7 +7,7 @@
+ if ((settings->value("DATADIR", QString()).toString()).isEmpty())
+ settings->setValue("DATADIR", "/usr/share/cppcheck");
+
foreach(const QString arg, app.arguments()) {
foreach (const QString arg, app.arguments()) {
if (arg.startsWith("--data-dir=")) {
settings->setValue("DATADIR", arg.mid(11));
return 0;