forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.1'
Change-Id: Ife660a3b9fb05582cc88d970e7f1162712d26cd4
This commit is contained in:
@@ -219,7 +219,7 @@ ToolTipWatchItem::ToolTipWatchItem(TreeItem *item)
|
|||||||
type = model->data(idx.sibling(idx.row(), 2), Qt::DisplayRole).toString();
|
type = model->data(idx.sibling(idx.row(), 2), Qt::DisplayRole).toString();
|
||||||
iname = model->data(idx.sibling(idx.row(), 0), LocalsINameRole).toString();
|
iname = model->data(idx.sibling(idx.row(), 0), LocalsINameRole).toString();
|
||||||
valueColor = model->data(idx.sibling(idx.row(), 1), Qt::ForegroundRole).value<QColor>();
|
valueColor = model->data(idx.sibling(idx.row(), 1), Qt::ForegroundRole).value<QColor>();
|
||||||
expandable = item->hasChildren();
|
expandable = model->hasChildren(idx);
|
||||||
expression = model->data(idx.sibling(idx.row(), 0), Qt::EditRole).toString();
|
expression = model->data(idx.sibling(idx.row(), 0), Qt::EditRole).toString();
|
||||||
foreach (TreeItem *child, item->children())
|
foreach (TreeItem *child, item->children())
|
||||||
appendChild(new ToolTipWatchItem(child));
|
appendChild(new ToolTipWatchItem(child));
|
||||||
@@ -270,7 +270,7 @@ public:
|
|||||||
|
|
||||||
WatchItem *it = m_engine->watchHandler()->findItem(iname);
|
WatchItem *it = m_engine->watchHandler()->findItem(iname);
|
||||||
QTC_ASSERT(it, return);
|
QTC_ASSERT(it, return);
|
||||||
it->fetchMore();
|
it->model()->fetchMore(it->index());
|
||||||
}
|
}
|
||||||
|
|
||||||
void restoreTreeModel(QXmlStreamReader &r);
|
void restoreTreeModel(QXmlStreamReader &r);
|
||||||
|
@@ -16,5 +16,5 @@ SOURCES += clangbackendmain.cpp
|
|||||||
|
|
||||||
unix {
|
unix {
|
||||||
!osx: QMAKE_LFLAGS += -Wl,-z,origin
|
!osx: QMAKE_LFLAGS += -Wl,-z,origin
|
||||||
!disable_external_rpath: QMAKE_LFLAGS += -Wl,-rpath,$$shell_quote($${LLVM_LIBDIR})
|
!contains(QMAKE_DEFAULT_LIBDIRS, $${LLVM_LIBDIR}):!disable_external_rpath: QMAKE_LFLAGS += -Wl,-rpath,$$shell_quote($${LLVM_LIBDIR})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user