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:
parent
ba29897fd8
commit
92f85a405c
3 changed files with 25 additions and 36 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue