summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-10-09 15:07:42 +0200
committerSlávek Banko <[email protected]>2016-10-09 15:08:00 +0200
commit635fe82acd114fd9ea34bd90fe2b80114e859089 (patch)
treef9e53555c5f713fc06d48c718890904e52fda3d7
parent17e82d3d887effaea5779a90e9f9c6ff25e0220a (diff)
downloadtde-style-baghira-635fe82acd114fd9ea34bd90fe2b80114e859089.tar.gz
tde-style-baghira-635fe82acd114fd9ea34bd90fe2b80114e859089.zip
Fix FTBFS on missing return values
This resolves bug 2690 Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--bab/main.cpp2
-rw-r--r--style/baghira.h1
2 files changed, 3 insertions, 0 deletions
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());