From 22cece741c2159b04f3de40d1f8eabc61da1e497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sat, 15 Apr 2017 21:23:08 +0200 Subject: Add GPL to resources instead of using getGPLText function. --- plugingui/mainwindow.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugingui/mainwindow.h') diff --git a/plugingui/mainwindow.h b/plugingui/mainwindow.h index 4b5dad1..a20f9dc 100644 --- a/plugingui/mainwindow.h +++ b/plugingui/mainwindow.h @@ -60,7 +60,7 @@ private: void repaintEvent(RepaintEvent* repaintEvent) override final; TabWidget tabs{this}; - + MainTab main_tab{this}; // TODO use some nice textfield widget here TextEdit gpl_text_field{&tabs}; @@ -77,6 +77,8 @@ private: Settings& settings; SettingsNotifier settings_notifier{settings}; + + Resource gpl{":../../COPYING"}; }; } // GUI:: -- cgit v1.2.3