From 7cd57a9671882e7803bee00c8569f926c98d65ab Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Mon, 2 Aug 2010 22:26:55 +0000 Subject: Theme Editor: Added a default label to switch block in devicestate.cpp to be safe git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27672 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/gui/devicestate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/themeeditor/gui/devicestate.cpp') diff --git a/utils/themeeditor/gui/devicestate.cpp b/utils/themeeditor/gui/devicestate.cpp index a62c686..019ce17 100644 --- a/utils/themeeditor/gui/devicestate.cpp +++ b/utils/themeeditor/gui/devicestate.cpp @@ -371,7 +371,7 @@ QVariant DeviceState::data(QString tag, int paramCount, case 4: return "Thu"; case 5: return "Fri"; case 6: return "Sat"; - case 7: return tr("Error, invalid weekday number"); + default: return tr("Error, invalid weekday number"); } } else if(tag == "cb") -- cgit v1.1