From 5b734d237890fd73504c8d9684f32a116b1cbdec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Fri, 15 Jun 2018 19:57:32 +0200 Subject: Add BUGS file in root dir and also in the about tab. --- plugingui/Makefile.am | 1 + plugingui/abouttab.cc | 9 +++++++++ plugingui/abouttab.h | 1 + 3 files changed, 11 insertions(+) (limited to 'plugingui') diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am index 12ffdf0..94e8a7c 100644 --- a/plugingui/Makefile.am +++ b/plugingui/Makefile.am @@ -25,6 +25,7 @@ RES = \ resources/widget.png \ ../ABOUT \ ../AUTHORS \ + ../BUGS \ ../COPYING resource_data.cc : rcgen $(RES) diff --git a/plugingui/abouttab.cc b/plugingui/abouttab.cc index f731100..7e330cb 100644 --- a/plugingui/abouttab.cc +++ b/plugingui/abouttab.cc @@ -71,6 +71,15 @@ std::string AboutTab::getAboutText() "\n"); about_text.append(std::string(VERSION) + "\n"); + // Bugs + about_text.append( + "\n" + "=============\n" + " Bugs\n" + "=============\n" + "\n"); + about_text.append(bugs.data()); + // Authors about_text.append( "\n" diff --git a/plugingui/abouttab.h b/plugingui/abouttab.h index ecec13a..eda23da 100644 --- a/plugingui/abouttab.h +++ b/plugingui/abouttab.h @@ -51,6 +51,7 @@ private: int margin{10}; Resource about{":../ABOUT"}; + Resource bugs{":../BUGS"}; Resource authors{":../AUTHORS"}; Resource gpl{":../COPYING"}; }; -- cgit v1.2.3