1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This sounds like a bug in GCC, let's try a workaround with parens.
This commit is contained in:
tux3 2015-06-09 01:51:23 +02:00
parent bfd3086ca6
commit f0f2776050
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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);