mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Improve last commit
Remove setter function : void BorderTitleBlock::setTitle(const QString &title) Remove singal diagramTitleChanged from BorderTitleBlock and use instead the signal informationChanged.
This commit is contained in:
@@ -791,10 +791,8 @@ void GenericPanel::projectDiagramsOrderChanged(QETProject *project,
|
||||
@brief GenericPanel::diagramTitleChanged
|
||||
Inform this panel the diagram \a diagram has changed its title to \a title.
|
||||
@param diagram
|
||||
@param title (unused)
|
||||
*/
|
||||
void GenericPanel::diagramTitleChanged(Diagram *diagram, const QString &title) {
|
||||
Q_UNUSED(title)
|
||||
void GenericPanel::diagramTitleChanged(Diagram *diagram) {
|
||||
GenericPanel::addDiagram(diagram);
|
||||
emit(panelContentChanged());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user