getting rid of tons of warnings

This commit is contained in:
confuseh
2017-01-18 13:48:42 +00:00
parent 528f539fca
commit 5eb7349b57
13 changed files with 98 additions and 69 deletions
+2 -2
View File
@@ -5,12 +5,12 @@ WordPart::WordPart(Word &word, int x, int y, const QString &copyText,
bool allowTrailingSpace)
: m_word(word)
, copyText(copyText)
, text(word.isText() ? m_word.getText() : QString())
, x(x)
, y(y)
, width(word.getWidth())
, height(word.getHeight())
, _trailingSpace(word.hasTrailingSpace() & allowTrailingSpace)
, text(word.isText() ? m_word.getText() : QString())
{
}
@@ -19,11 +19,11 @@ WordPart::WordPart(Word &word, int x, int y, int width, int height,
bool allowTrailingSpace)
: m_word(word)
, copyText(copyText)
, text(customText)
, x(x)
, y(y)
, width(width)
, height(height)
, _trailingSpace(word.hasTrailingSpace() & allowTrailingSpace)
, text(customText)
{
}