mainbar: fix build without libsigrokdecode
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 3 Dec 2018 14:35:35 +0000 (15:35 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 11 Feb 2019 09:20:55 +0000 (10:20 +0100)
commit13fe60f537c78661f62386b3bec202cbb42364fe
treef2c0357ec38f48dd70a3f8e10cdb874a42a40ef2
parent5f9a52096e07e399d76da6724c1cf56bf4511c9f
mainbar: fix build without libsigrokdecode

We must not include decodesignal.hpp if we're not using libsigrokdecode
or the build will fail due to libsigrokdecode.hpp not being present in
the system.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
pv/toolbars/mainbar.cpp