forked from qt-creator/qt-creator
Debugger: Set model object names at construction time
Change-Id: Ib1d273ef2c2bb97a2343da6d361fde7c01012040 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -39,7 +39,9 @@ namespace Internal {
|
||||
|
||||
SourceFilesHandler::SourceFilesHandler()
|
||||
{
|
||||
setObjectName(QLatin1String("SourceFilesModel"));
|
||||
QSortFilterProxyModel *proxy = new QSortFilterProxyModel(this);
|
||||
proxy->setObjectName(QLatin1String("SourceFilesProxyModel"));
|
||||
proxy->setSourceModel(this);
|
||||
m_proxyModel = proxy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user