diff options
author | John Fultz <jfultz@wolfram.com> | 2019-05-06 10:46:34 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2019-05-06 11:31:02 -0500 |
commit | 27c05b0fdf676294518e4f97d992ce8f555f3b31 (patch) | |
tree | 0b8b077946b8b56ebeb9106668a111a350603100 /quacker/quacker.cpp | |
parent | eefe7883cdc45fc40a9240d56542b92e0bd04d38 (diff) |
Add ability to include logo in copyrights.txt.
Add NASPA logo for its dictionaries.
Add a separator between settings and copyright for clarity.
Tighten up vertical spacing in the settings panel.
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r-- | quacker/quacker.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp index 9bc252d..4498900 100644 --- a/quacker/quacker.cpp +++ b/quacker/quacker.cpp @@ -2164,9 +2164,14 @@ void TopLevel::about() QString line = strm.readLine(); while (!line.isNull()) { - int pos = line.indexOf(':'); - if (pos != -1 && pos + 1 < line.size()) - aboutText += "<li>" + line.mid(pos + 1) + "</li>"; + int startPos = line.indexOf(':'); + if (startPos != -1 && startPos + 1 < line.size()) + { + line = line.mid(startPos + 1); + int endPos = line.indexOf(':'); + line = line.mid(0, endPos); + aboutText += "<li>" + line + "</li>"; + } line = strm.readLine(); } fclose(file); |