updated messages

This commit is contained in:
fourtf
2017-01-15 16:38:30 +01:00
parent 4dbe2b0254
commit 801e7b8a1e
32 changed files with 698 additions and 148 deletions
+4 -2
View File
@@ -5,12 +5,13 @@ Word::Word(LazyLoadedImage *image, Type type, const QString &copytext,
const QString &tooltip, const Link &link)
: m_image(image)
, m_text()
, m_color()
, m_isImage(true)
, m_type(type)
, m_copyText(copytext)
, m_tooltip(tooltip)
, m_color()
, m_link(link)
, m_characterWidthCache()
{
image->width(); // professional segfault test
}
@@ -20,11 +21,12 @@ Word::Word(const QString &text, Type type, const QColor &color,
const QString &copytext, const QString &tooltip, const Link &link)
: m_image(NULL)
, m_text(text)
, m_color(color)
, m_isImage(false)
, m_type(type)
, m_copyText(copytext)
, m_tooltip(tooltip)
, m_color(color)
, m_link(link)
, m_characterWidthCache()
{
}