X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=inline;f=pv%2Fwidgets%2Fpopuptoolbutton.cpp;h=eb33c383accce52af1ea8118535106b19a3cb4f7;hb=dd3f9a41a6b4debf5ad7aa8226bebd13504f2295;hp=75aa76a552777e2fe44aa056cd7f8711f401e9e5;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329;p=pulseview.git
diff --git a/pv/widgets/popuptoolbutton.cpp b/pv/widgets/popuptoolbutton.cpp
index 75aa76a..eb33c38 100644
--- a/pv/widgets/popuptoolbutton.cpp
+++ b/pv/widgets/popuptoolbutton.cpp
@@ -14,8 +14,7 @@
* 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 .
*/
#include
@@ -27,7 +26,7 @@ namespace widgets {
PopupToolButton::PopupToolButton(QWidget *parent) :
QToolButton(parent),
- popup_(NULL)
+ popup_(nullptr)
{
connect(this, SIGNAL(clicked(bool)), this, SLOT(on_clicked(bool)));
}
@@ -45,7 +44,7 @@ void PopupToolButton::set_popup(Popup *popup)
void PopupToolButton::on_clicked(bool)
{
- if(!popup_)
+ if (!popup_)
return;
const QRect r = rect();