]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/popuptoolbutton.cpp
Update property widgets before showing device config popup
[pulseview.git] / pv / widgets / popuptoolbutton.cpp
index ff335a90e0acecde9d14fd52f0131aede820fcd7..3fc2eb20aa9be8e15c6f267a5aed8ebb6769c0bb 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <assert.h>
+#include <cassert>
 
 #include "popuptoolbutton.hpp"
 
@@ -54,5 +53,5 @@ void PopupToolButton::on_clicked(bool)
        popup_->show();
 }
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv