From 4ea1c4ed67ee6fd46dbe393d05b7d835e3a33299 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sun, 7 Nov 2010 00:30:20 +0000 Subject: All routing popups finished. Major cleanup of astrip + mstrip comments, code! --- muse2/muse/app.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'muse2/muse/app.cpp') diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index 6ce85950..f0d622b7 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -2065,7 +2065,7 @@ void MusE::updateRouteMenus(Track* track, QObject* master) PopupMenu* pup = getRoutingPopupMenu(); - if(pup->actions().size() == 0) + if(pup->actions().isEmpty()) return; if(!pup->isVisible()) @@ -2127,7 +2127,7 @@ void MusE::routingPopupMenuActivated(Track* track, int n) { PopupMenu* pup = getRoutingPopupMenu(); - if(pup->actions().size() == 0) + if(pup->actions().isEmpty()) return; //MidiTrack* t = (MidiTrack*)track; @@ -2597,7 +2597,7 @@ PopupMenu* MusE::prepareRoutingPopupMenu(Track* track, bool dst) } */ - if(pup->actions().size() == 0) + if(pup->actions().isEmpty()) { gRoutingPopupMenuMaster = 0; //pup->clear(); -- cgit v1.2.3