summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-07 08:10:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-10 11:19:22 +0200
commit940ae0898c5e836c3d82fac85f5fa55bb75414a1 (patch)
tree81f4d053a7cf75d40ca66da7d5b9ee346d558f95
parente8f83186825966232900cf7c70ac88134cbdf0cd (diff)
spline: reformat
-rw-r--r--spline/spline.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp
index 3787e0f9..6167de0d 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -363,17 +363,18 @@ void spline::set_bundle(bundle b)
if (b)
{
connection = QObject::connect(b.get(), &bundle_::changed,
- s.get(), [&]() {
- // we're holding the mutex to allow signal disconnection in spline dtor
- // before this slot gets called for the next time
+ s.get(), [&]()
+ {
+ // we're holding the mutex to allow signal disconnection in spline dtor
+ // before this slot gets called for the next time
- // spline isn't a QObject and the connection context is incorrect
+ // spline isn't a QObject and the connection context is incorrect
- QMutexLocker l(&_mutex);
- recompute();
- emit s->recomputed();
- },
- Qt::QueuedConnection);
+ QMutexLocker l(&_mutex);
+ recompute();
+ emit s->recomputed();
+ },
+ Qt::QueuedConnection);
}
recompute();