Fix compiler errors.

I blame too much operating in WPX and losing an hour to DST :(

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3965 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-03-31 00:11:47 +00:00
parent 85c4f6722b
commit 241bf48cbf
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ namespace
if (colours.size () > points)
{
throw_qstring (tr ("Too many colours in palette."));
throw_qstring (QObject::tr ("Too many colours in palette."));
}
return colours;
@ -82,7 +82,7 @@ namespace
if (++count >= points)
{
throw_qstring (QObject::tr ("Error reading waterfall palette file \"%1:%2\" too many colors.")
.arg (file.fileName ().arg (line_counter));
.arg (file.fileName ()).arg (line_counter));
}
auto items = line.split (';');
if (items.size () != 3)