Permalink
Browse files

TiltShiftPlugin: use the PACKAGEVERSION define in the disclaimer

Instead of manually updating the package version in the disclaimer,
use the exposed defined, which is generated using the ChangeLog
  • Loading branch information...
1 parent 86629d6 commit e42595e90ef7f34195d5372bf90fde9ec54acbcc Simon Pena committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gallerytiltshiftplugin/gallerytiltshiftplugin.cpp
@@ -203,7 +203,7 @@ void GalleryTiltShiftPlugin::onAboutLinkActivated(const QString &link)
if (link.toLower().startsWith("http") || link.toLower().startsWith("mailto")) {
QDesktopServices::openUrl(QUrl(link));
} else {
- showMessageBox("Tilt Shift plugin - 0.1.1",
+ showMessageBox(QString("Tilt Shift plugin - %1").arg(PACKAGEVERSION),
"Copyright (c) 2012 Igalia S.L."
"<br /><br />"
"<a href=\"mailto:spena@igalia.com\">spena@igalia.com</a> | "

0 comments on commit e42595e

Please sign in to comment.