forked from qt-creator/qt-creator
BaseTreeView: Fix connection.
Strings are not typo-safe. Change-Id: I9fd0e0574fb51ea995037c7b22ff2a87b95f5965 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -274,7 +274,7 @@ void BaseTreeView::setModel(QAbstractItemModel *m)
|
||||
QObject *receiver;
|
||||
const char *qslot;
|
||||
};
|
||||
#define DESC(sign, receiver, slot) { #sign, SIGNAL(sig), receiver, SLOT(slot) }
|
||||
#define DESC(sign, receiver, slot) { #sign, SIGNAL(sign), receiver, SLOT(slot) }
|
||||
const ExtraConnection c[] = {
|
||||
DESC(columnAdjustmentRequested(), d, resizeColumns()),
|
||||
DESC(requestExpansion(QModelIndex), this, expand(QModelIndex))
|
||||
|
Reference in New Issue
Block a user