]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/colourbutton.cpp
Consistenty use auto-generated namespace comments.
[pulseview.git] / pv / widgets / colourbutton.cpp
index fc9084be632c899d946fac6ddc434863ca2406e3..ce2ab2a9c01d6434a7cbc3f482964f980cb5b50d 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 "colourbutton.hpp"
 
-#include <assert.h>
+#include <cassert>
 
 #include <QApplication>
 #include <QPainter>
@@ -103,5 +102,5 @@ void ColourButton::paintEvent(QPaintEvent *event)
        p.drawRect(r);
 }
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv