Fix typos and spelling
This commit is contained in:
@@ -158,7 +158,7 @@ void AnalyzerContainer::ChangeAnalyzer(int id) {
|
||||
QObject *instance = analyzer_types_[id]->newInstance(Q_ARG(QWidget*, this));
|
||||
|
||||
if (!instance) {
|
||||
qLog(Warning) << "Couldn't intialise a new" << analyzer_types_[id]->className();
|
||||
qLog(Warning) << "Couldn't initialise a new" << analyzer_types_[id]->className();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -274,7 +274,7 @@ QColor ensureContrast(const QColor &bg, const QColor &fg, uint amount = 150) {
|
||||
int dh = abs(bh - fh);
|
||||
|
||||
if (dh > 120) {
|
||||
// a third of the colour wheel automatically guarentees contrast
|
||||
// a third of the colour wheel automatically guarantees contrast
|
||||
// but only if the values are high enough and saturations significant enough
|
||||
// to allow the colours to be visible and not be shades of grey or black
|
||||
|
||||
|
||||
Reference in New Issue
Block a user