mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Improve what's new style
This commit is contained in:
@ -11,7 +11,7 @@ YACReader::RoundedCornersDialog::RoundedCornersDialog(QWidget *parent)
|
||||
|
||||
void YACReader::RoundedCornersDialog::paintEvent(QPaintEvent *)
|
||||
{
|
||||
qreal radius = 36.0; // desired radius in absolute pixels
|
||||
qreal radius = 14.0; // desired radius in absolute pixels
|
||||
|
||||
if (!(windowFlags() & Qt::FramelessWindowHint) && !testAttribute(Qt::WA_TranslucentBackground))
|
||||
return; // nothing to do
|
||||
|
Reference in New Issue
Block a user