Git commit ca9ea16b4ab2916a2224ef3de0f84e4a5d7942dc by Shantanu Tushar. Committed on 18/08/2012 at 14:42. Pushed by shantanu into branch 'master'. Fetch Calligra version from calligraversion.h M +1 -1 active/qml/AboutCalligraActive.qml M +3 -0 active/src/MainWindow.cpp http://commits.kde.org/calligra/ca9ea16b4ab2916a2224ef3de0f84e4a5d7942dc diff --git a/active/qml/AboutCalligraActive.qml b/active/qml/AboutCalligraA= ctive.qml index f5cb3c9..cbadd55 100644 --- a/active/qml/AboutCalligraActive.qml +++ b/active/qml/AboutCalligraActive.qml @@ -66,7 +66,7 @@ Rectangle { width: parent.width anchors.horizontalCenter: parent.horizontalCenter wrapMode: Text.WordWrap - text: "

Calligra Active 1.0 Beta using Calligra Engine 2.4 \ + text: "

Calligra Active 1.0 Beta using Calligra Engine " + _= calligra_version_string + "

\

Calligra Active is a office document viewer for touc= h based tablets especially tailored for the Plasma Active platform.

\

http://www.ca= lligra.org

" color: theme.textColor diff --git a/active/src/MainWindow.cpp b/active/src/MainWindow.cpp index 99309ca..16706d6 100644 --- a/active/src/MainWindow.cpp +++ b/active/src/MainWindow.cpp @@ -25,6 +25,8 @@ #include "CADocumentController.h" #include "calligra_active_global.h" = +#include + #include #include #include @@ -76,6 +78,7 @@ MainWindow::MainWindow (QWidget* parent) } = m_view->rootContext()->setContextProperty ("mainwindow", this); + m_view->rootContext()->setContextProperty("_calligra_version_string", = CALLIGRA_VERSION_STRING); loadMetadataModel(); = m_view->setSource (QUrl::fromLocalFile (CalligraActive::Global::instal= lPrefix()