summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/sourcefileshandler.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-08-19 13:30:10 +0200
committerhjk <hjk121@nokiamail.com>2013-08-19 17:16:06 +0200
commit6ef5aaad676791f80b5f1ce0b81588570dc10587 (patch)
tree55613bef24e0b7db51b37e97ada8b09fdda188d4 /src/plugins/debugger/sourcefileshandler.cpp
parentca1716281a86d069da4b08b9059e52df01b5c91f (diff)
downloadqt-creator-6ef5aaad676791f80b5f1ce0b81588570dc10587.tar.gz
Debugger: Set model object names at construction time
Change-Id: Ib1d273ef2c2bb97a2343da6d361fde7c01012040 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/debugger/sourcefileshandler.cpp')
-rw-r--r--src/plugins/debugger/sourcefileshandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/sourcefileshandler.cpp b/src/plugins/debugger/sourcefileshandler.cpp
index 21b7047f88..e1d916e68c 100644
--- a/src/plugins/debugger/sourcefileshandler.cpp
+++ b/src/plugins/debugger/sourcefileshandler.cpp
@@ -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;
}