diff options
author | Tim E. Real <termtech@rogers.com> | 2010-11-07 00:30:20 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2010-11-07 00:30:20 +0000 |
commit | 4ea1c4ed67ee6fd46dbe393d05b7d835e3a33299 (patch) | |
tree | 599bf37fa6965cfb4cb310a806c6f35f10a6e505 /muse2/muse/app.cpp | |
parent | 13375b925494553cb3534ca769ad04e4f8cffb24 (diff) |
All routing popups finished. Major cleanup of astrip + mstrip comments, code!
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r-- | muse2/muse/app.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |