Skip to content
Snippets Groups Projects
Commit 6822c47c authored by Daniel Teske's avatar Daniel Teske Committed by Thomas Hartmann
Browse files

NewDialog: Simplfy code for templates view's signals


We don't need to connect to the clicked signal, since we are already
connected to the current changed of the selection model. Also set the
model for the templates view in the constructor, so that we can also
connect to the selection model in the constructor.

Change-Id: I88cd1bef97136604125fc74e18ffcc5c1c118a1d
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 18e585b7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment