mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #1841
This sounds like a bug in GCC, let's try a workaround with parens.
This commit is contained in:
parent
bfd3086ca6
commit
f0f2776050
|
@ -33,11 +33,11 @@
|
|||
#include <QPalette>
|
||||
|
||||
CallConfirmWidget::CallConfirmWidget(const QWidget *Anchor, const Friend& f) :
|
||||
QWidget(GUI::getMainWidget()), anchor(Anchor), f{f},
|
||||
QWidget(GUI::getMainWidget()), anchor(Anchor), f(f),
|
||||
rectW{120}, rectH{85},
|
||||
spikeW{30}, spikeH{15},
|
||||
roundedFactor{20},
|
||||
rectRatio{static_cast<qreal>(rectH)/static_cast<qreal>(rectW)}
|
||||
rectRatio(static_cast<qreal>(rectH)/static_cast<qreal>(rectW))
|
||||
{
|
||||
setWindowFlags(Qt::SubWindow);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user