changed notation
This commit is contained in:
@@ -3,30 +3,30 @@
|
||||
// Image word
|
||||
Word::Word(LazyLoadedImage *image, Type type, const QString ©text,
|
||||
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_link(link)
|
||||
, m_characterWidthCache()
|
||||
: image(image)
|
||||
, text()
|
||||
, color()
|
||||
, _isImage(true)
|
||||
, type(type)
|
||||
, copyText(copytext)
|
||||
, tooltip(tooltip)
|
||||
, link(link)
|
||||
, characterWidthCache()
|
||||
{
|
||||
image->width(); // professional segfault test
|
||||
image->getWidth(); // professional segfault test
|
||||
}
|
||||
|
||||
// Text word
|
||||
Word::Word(const QString &text, Type type, const QColor &color,
|
||||
const QString ©text, 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_link(link)
|
||||
, m_characterWidthCache()
|
||||
: image(NULL)
|
||||
, text(text)
|
||||
, color(color)
|
||||
, _isImage(false)
|
||||
, type(type)
|
||||
, copyText(copytext)
|
||||
, tooltip(tooltip)
|
||||
, link(link)
|
||||
, characterWidthCache()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user