src/document.cpp

changeset 104
cd4df75924b7
parent 86
4bec0525ef1b
child 108
94c92c923713
equal deleted inserted replaced
103:94719518e310 104:cd4df75924b7
69 }; 69 };
70 this->renderer->handleSelectionChange(resolve(selected), resolve(deselected)); 70 this->renderer->handleSelectionChange(resolve(selected), resolve(deselected));
71 this->selectionChanged(resolve(this->ui.listView->selectionModel()->selection())); 71 this->selectionChanged(resolve(this->ui.listView->selectionModel()->selection()));
72 }); 72 });
73 connect(this->model, &Model::dataChanged, this->renderer, qOverload<>(&Canvas::update)); 73 connect(this->model, &Model::dataChanged, this->renderer, qOverload<>(&Canvas::update));
74 connect(this->renderer, &Canvas::mouseClick, this, &Document::mouseClick);
74 } 75 }
75 76
76 Document::~Document() 77 Document::~Document()
77 { 78 {
78 delete &this->ui; 79 delete &this->ui;

mercurial