Mercurial > hg > svgui
comparison view/View.cpp @ 1350:5ac1c323ac55
Use newly-introduced cancel icon instead of fileclose. The deceptive name of fileclose had me thinking nobody was using it, so I removed it and the cancel buttons disappeared
author | Chris Cannam |
---|---|
date | Wed, 03 Oct 2018 12:59:47 +0100 |
parents | 769d7890203b |
children | 9fb7133dd818 |
comparison
equal
deleted
inserted
replaced
1348:01778052e663 | 1350:5ac1c323ac55 |
---|---|
569 pb->setMaximum(0); | 569 pb->setMaximum(0); |
570 pb->setFixedWidth(80); | 570 pb->setFixedWidth(80); |
571 pb->setTextVisible(false); | 571 pb->setTextVisible(false); |
572 | 572 |
573 QPushButton *cancel = new QPushButton(this); | 573 QPushButton *cancel = new QPushButton(this); |
574 cancel->setIcon(IconLoader().load("fileclose")); | 574 cancel->setIcon(IconLoader().load("cancel")); |
575 cancel->setFlat(true); | 575 cancel->setFlat(true); |
576 cancel->setFixedSize(QSize(20, 20)); | 576 cancel->setFixedSize(QSize(20, 20)); |
577 connect(cancel, SIGNAL(clicked()), this, SLOT(cancelClicked())); | 577 connect(cancel, SIGNAL(clicked()), this, SLOT(cancelClicked())); |
578 | 578 |
579 ProgressBarRec pbr; | 579 ProgressBarRec pbr; |