From 635fe82acd114fd9ea34bd90fe2b80114e859089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 9 Oct 2016 15:07:42 +0200 Subject: Fix FTBFS on missing return values This resolves bug 2690 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- bab/main.cpp | 2 ++ style/baghira.h | 1 + 2 files changed, 3 insertions(+) diff --git a/bab/main.cpp b/bab/main.cpp index c4bf7ac..11fbd48 100644 --- a/bab/main.cpp +++ b/bab/main.cpp @@ -432,6 +432,7 @@ TQString BabSwitcher::style() { case Jaguar: return "Jaguar"; + default: case Panther: return "Panther"; case iTunes: @@ -449,6 +450,7 @@ TQString BabSwitcher::deco() { case Jaguar: return "Jaguar"; + default: case Panther: return "Panther"; case iTunes: diff --git a/style/baghira.h b/style/baghira.h index 8f219aa..64a3eab 100644 --- a/style/baghira.h +++ b/style/baghira.h @@ -236,6 +236,7 @@ public: { switch (inactiveButtonColor) { + default: case 0 : return (TQColor(232,232,232)); case 1 : return (bgColor()); case 2 : return (buttonColor()); -- cgit v1.2.1