Make automatic updates cancelable by the user

This commit is contained in:
Luis Ángel San Martín
2023-08-23 21:50:21 +02:00
parent b709e000cf
commit 8e2910607d
7 changed files with 18 additions and 4 deletions

View File

@ -71,6 +71,7 @@ YACReaderTitledToolBar::YACReaderTitledToolBar(const QString &title, QWidget *pa
nameLabel = new DropShadowLabel(this);
busyIndicator = new BusyIndicator(this, 12);
connect(busyIndicator, &BusyIndicator::clicked, this, &YACReaderTitledToolBar::cancelOperationRequested);
busyIndicator->setIndicatorStyle(BusyIndicator::StyleArc);
#ifdef Y_MAC_UI
busyIndicator->setColor(QColor("#808080"));