Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 594748 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +5 lines)
Line  Link Here
0
-- qt-creator-opensource-src-3.6.1/src/plugins/coreplugin/variablechooser.cpp  2016-03-08 06:30:19.000000000 -0500
0
++ qt-creator-opensource-src-3.6.1/src/plugins/coreplugin/variablechooser.cppb 2016-11-22 22:00:19.583860319 -0500
Lines 250-258 Link Here
250
    m_defaultDescription = VariableChooser::tr("Select a variable to insert.");
250
    m_defaultDescription = VariableChooser::tr("Select a variable to insert.");
251
251
252
    m_variableTree = new VariableTreeView(q, this);
252
    m_variableTree = new VariableTreeView(q, this);
253
    m_variableTree->setModel(&m_model);
254
255
    m_variableDescription = new QLabel(q);
253
    m_variableDescription = new QLabel(q);
254
255
    m_variableTree->setModel(&m_model);
256
    m_variableDescription->setText(m_defaultDescription);
256
    m_variableDescription->setText(m_defaultDescription);
257
    m_variableDescription->setMinimumSize(QSize(0, 60));
257
    m_variableDescription->setMinimumSize(QSize(0, 60));
258
    m_variableDescription->setAlignment(Qt::AlignLeft|Qt::AlignTop);
258
    m_variableDescription->setAlignment(Qt::AlignLeft|Qt::AlignTop);
Lines 408-414 Link Here
408
 */
408
 */
409
void VariableChooserPrivate::updateDescription(const QModelIndex &index)
409
void VariableChooserPrivate::updateDescription(const QModelIndex &index)
410
{
410
{
411
    m_variableDescription->setText(m_model.data(index, Qt::ToolTipRole).toString());
411
    if (m_variableDescription)
412
        m_variableDescription->setText(m_model.data(index, Qt::ToolTipRole).toString());
412
}
413
}
413
414
414
/*!
415
/*!

Return to bug 594748