summaryrefslogtreecommitdiff
path: root/plugingui/maintab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/maintab.cc')
-rw-r--r--plugingui/maintab.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugingui/maintab.cc b/plugingui/maintab.cc
index a9ae9f2..9b910b8 100644
--- a/plugingui/maintab.cc
+++ b/plugingui/maintab.cc
@@ -26,6 +26,8 @@
*/
#include "maintab.h"
+#include <version.h>
+
namespace GUI
{
@@ -59,6 +61,12 @@ MainTab::MainTab(Widget* parent) : Widget(parent)
status_frame.setContent(&statusframe_content);
humanizer_frame.setContent(&humanizerframe_content);
diskstreaming_frame.setContent(&diskstreamingframe_content);
+
+ version_label.setText("v." + std::string(VERSION) + " ");
+ version_label.setAlignment(TextAlignment::right);
+ version_label.setColour(Colour(0.1, 0.1, 0.2));
+ layout.addItem(&version_label);
+ layout.setPosition(&version_label, GridLayout::GridRange{1, 2, 31, 32});
}
} // GUI::