main: simplify conversion error message
This commit is contained in:
@@ -143,7 +143,7 @@ int main(int argc, char **argv)
|
|||||||
if (screen_locked && slave_screen != myScreen->type())
|
if (screen_locked && slave_screen != myScreen->type())
|
||||||
toScreen(slave_screen)->switchTo();
|
toScreen(slave_screen)->switchTo();
|
||||||
}
|
}
|
||||||
|
|
||||||
// local variables
|
// local variables
|
||||||
bool key_pressed = false;
|
bool key_pressed = false;
|
||||||
Key input = Key::noOp;
|
Key input = Key::noOp;
|
||||||
@@ -230,7 +230,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
catch (ConversionError &e)
|
catch (ConversionError &e)
|
||||||
{
|
{
|
||||||
Statusbar::printf("Couldn't convert value \"%1%\" to target type", e.value());
|
Statusbar::printf("Invalid value: %1%", e.value());
|
||||||
}
|
}
|
||||||
catch (OutOfBounds &e)
|
catch (OutOfBounds &e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user