Commit 737c327f authored by hjk's avatar hjk Committed by Christian Stenger
Browse files

BaseTreeView: Fix connection.

Strings are not typo-safe.

Change-Id: I9fd0e0574fb51ea995037c7b22ff2a87b95f5965
Reviewed-by: default avatarEike Ziller <>
Reviewed-by: default avatarChristian Stenger <>
parent 4be0d123
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment