(to match the rest of the code base where these are not used either)
action_about_(new QAction(this))
#ifdef ENABLE_DECODE
, menu_decoders_add_(new pv::widgets::DecoderMenu(this, true))
-#endif /* ENABLE_DECODE */
+#endif
{
setup_ui();
restore_ui_settings();
{
return menu_decoders_add_;
}
-#endif /* ENABLE_DECODE */
+#endif
void MainWindow::run_stop()
{
namespace widgets {
#ifdef ENABLE_DECODE
class DecoderMenu;
-#endif /* ENABLE_DECODE */
+#endif
}
class MainWindow : public QMainWindow
#ifdef ENABLE_DECODE
QMenu* menu_decoder_add() const;
-#endif /* ENABLE_DECODE */
+#endif
void run_stop();
#ifdef ENABLE_DECODE
QMenu *const menu_decoders_add_;
-#endif /* ENABLE_DECODE */
+#endif
};
} // namespace pv