summaryrefslogtreecommitdiff
path: root/src/AboutDialog.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-12-04 02:04:20 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-12-04 02:04:20 (GMT)
commit5624a0e426b4d31721da9c5a633f2ac40de261a6 (patch)
treefcdcbffa4e7995e04f2876d8a2f0ede0614b9bc4 /src/AboutDialog.h
parent406bf8a3a6793d0687e84872cc9b0544a8f01f80 (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.h3
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);
}
};
contact: Jan Huwald // Impressum