summaryrefslogtreecommitdiff
path: root/quacker/quacker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r--quacker/quacker.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp
index 4498900..6a2a34a 100644
--- a/quacker/quacker.cpp
+++ b/quacker/quacker.cpp
@@ -2170,7 +2170,9 @@ void TopLevel::about()
line = line.mid(startPos + 1);
int endPos = line.indexOf(':');
line = line.mid(0, endPos);
- aboutText += "<li>" + line + "</li>";
+ // Only include lines with a copyright (the word or the symbol) in them
+ if (line.indexOf("copyright", 0, Qt::CaseInsensitive) != -1 || line.indexOf(QChar(0xA9)) != -1)
+ aboutText += "<li>" + line + "</li>";
}
line = strm.readLine();
}