From 27c05b0fdf676294518e4f97d992ce8f555f3b31 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Mon, 6 May 2019 10:46:34 -0500 Subject: 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. --- quacker/quacker.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'quacker/quacker.cpp') 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 += "
  • " + line.mid(pos + 1) + "
  • "; + 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 += "
  • " + line + "
  • "; + } line = strm.readLine(); } fclose(file); -- cgit v1.2.3