summaryrefslogtreecommitdiff
path: root/src/AboutDialog.h
diff options
context:
space:
mode:
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