From: Uwe Hermann Date: Fri, 20 Feb 2015 10:25:45 +0000 (+0100) Subject: Drop unneeded /* ENABLE_DECODE */ comments. X-Git-Tag: pulseview-0.3.0~235 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=19be0af16af83ca10f7ce69cb64f0b0c6f6a0d81;p=pulseview.git Drop unneeded /* ENABLE_DECODE */ comments. (to match the rest of the code base where these are not used either) --- 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