From 19be0af16af83ca10f7ce69cb64f0b0c6f6a0d81 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 20 Feb 2015 11:25:45 +0100 Subject: [PATCH] Drop unneeded /* ENABLE_DECODE */ comments. (to match the rest of the code base where these are not used either) --- pv/mainwindow.cpp | 4 ++-- pv/mainwindow.hpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 49152a26..f907f09c 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -104,7 +104,7 @@ MainWindow::MainWindow(DeviceManager &device_manager, 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(); @@ -171,7 +171,7 @@ QMenu* MainWindow::menu_decoder_add() const { return menu_decoders_add_; } -#endif /* ENABLE_DECODE */ +#endif void MainWindow::run_stop() { diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index d2bcd918..2860c681 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -53,7 +53,7 @@ class View; namespace widgets { #ifdef ENABLE_DECODE class DecoderMenu; -#endif /* ENABLE_DECODE */ +#endif } class MainWindow : public QMainWindow @@ -91,7 +91,7 @@ public: #ifdef ENABLE_DECODE QMenu* menu_decoder_add() const; -#endif /* ENABLE_DECODE */ +#endif void run_stop(); @@ -173,7 +173,7 @@ private: #ifdef ENABLE_DECODE QMenu *const menu_decoders_add_; -#endif /* ENABLE_DECODE */ +#endif }; } // namespace pv -- 2.30.2