Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 12807 → Rev 12808

/trunk/Scribus/scribus/chartablemodel.cpp
39,10 → 39,10
return QVariant();
 
int ix = index.row() * m_cols + index.column();
int currentChar = -1;
int currentChar;
if (ix < m_characters.count())
currentChar = m_characters[ix];
if (currentChar == -1)
else
return QVariant();
 
// for mimeData()
49,6 → 49,14
if (role == Qt::AccessibleTextRole)
return m_characters[ix];
 
// tooltip
if (role == Qt::ToolTipRole)
{
QString tmp;
tmp.sprintf("%04X", currentChar);
return "Unicode:\n0x"+tmp;
}
 
// pixmap
if (role == Qt::DecorationRole)
{