mainwindow: add missing checks against ENABLE_DECODE
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 18 Feb 2015 16:19:08 +0000 (17:19 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 20 Feb 2015 10:17:04 +0000 (11:17 +0100)
commite79171dc88959745ce0bf483dc25e86b28f253ed
treec83b8c87d131766587b6eaece23a691f5139c799
parentef2986c0f3e0ce3346a28d86348d8cc1746e9b66
mainwindow: add missing checks against ENABLE_DECODE

Pulseview doesn't compile with -DENABLE_DECODE=FALSE. Add missing
checks against ENABLE_DECODE in mainwindow.cpp/.hpp.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
pv/mainwindow.cpp
pv/mainwindow.hpp