diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-12-04 02:04:20 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-12-04 02:04:20 (GMT) |
commit | 5624a0e426b4d31721da9c5a633f2ac40de261a6 (patch) | |
tree | fcdcbffa4e7995e04f2876d8a2f0ede0614b9bc4 /src/AboutDialog.h | |
parent | 406bf8a3a6793d0687e84872cc9b0544a8f01f80 (diff) |
hand code html to remove qt cruft. makes it easier to change, and easier
to spit out to cmdline (eventually)
Diffstat (limited to 'src/AboutDialog.h')
-rw-r--r-- | src/AboutDialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/AboutDialog.h b/src/AboutDialog.h index 1ae6533..2211e63 100644 --- a/src/AboutDialog.h +++ b/src/AboutDialog.h @@ -16,6 +16,9 @@ public: this->aboutText->setOpenExternalLinks(true); QUrl flattr_qurl(":icons/flattr.png" ); this->aboutText->loadResource( QTextDocument::ImageResource, flattr_qurl ); + QString tmp = this->aboutText->toHtml(); + tmp.replace("__VERSION__",QString(TOSTRING(OPENSCAD_VERSION))); + this->aboutText->setHtml(tmp); } }; |