Fix FTBFS on missing return values

This resolves bug 2690

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent 17e82d3d88
commit 635fe82acd

@ -432,6 +432,7 @@ TQString BabSwitcher::style()
{ {
case Jaguar: case Jaguar:
return "Jaguar"; return "Jaguar";
default:
case Panther: case Panther:
return "Panther"; return "Panther";
case iTunes: case iTunes:
@ -449,6 +450,7 @@ TQString BabSwitcher::deco()
{ {
case Jaguar: case Jaguar:
return "Jaguar"; return "Jaguar";
default:
case Panther: case Panther:
return "Panther"; return "Panther";
case iTunes: case iTunes:

@ -236,6 +236,7 @@ public:
{ {
switch (inactiveButtonColor) switch (inactiveButtonColor)
{ {
default:
case 0 : return (TQColor(232,232,232)); case 0 : return (TQColor(232,232,232));
case 1 : return (bgColor()); case 1 : return (bgColor());
case 2 : return (buttonColor()); case 2 : return (buttonColor());

Loading…
Cancel
Save