~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to muse/mixer/rack.cpp

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-07-18 16:07:06 UTC
  • mfrom: (1.1.12) (10.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120718160706-qy1lydijykeiqqmg
Tags: 2.0-1
* New stable release.
* debian/rules: Exclude muse/widgets/arrangercolumns.{cpp,h}~ from being
  deleted by dh_clean.
* Drop 0002-gcc_hardening.patch, applied upstream.
* Drop 0003-ftbfs_gcc47.patch, applied upstream.
* Refresh 1001-buildsystem.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
      setSpacing(0);
183
183
 
184
184
      setAcceptDrops(true);
 
185
      setFocusPolicy(Qt::NoFocus);
185
186
      }
186
187
 
187
188
void EffectRack::updateContents()
410
411
            return;
411
412
            }
412
413
      if (pipe) {
413
 
            bool flag = !pipe->guiVisible(idx);
414
 
            pipe->showGui(idx, flag);
 
414
            bool flag;
 
415
            if (pipe->has_dssi_ui(idx))
 
416
            {
 
417
              flag = !pipe->nativeGuiVisible(idx);
 
418
              pipe->showNativeGui(idx, flag);
 
419
 
 
420
            }
 
421
            else {
 
422
              flag = !pipe->guiVisible(idx);
 
423
              pipe->showGui(idx, flag);
 
424
            }
415
425
            }
416
426
      }
417
427
 
507
517
      
508
518
      QString xmlconf;
509
519
      xml.dump(xmlconf);
 
520
      printf("[%s]\n", xmlconf.toLatin1().constData());
 
521
 
510
522
      
511
523
      QByteArray data(xmlconf.toLatin1().constData());
512
524
      //printf("sending %d [%s]\n", data.length(), xmlconf.toLatin1().constData());
683
695
                                  //printf("instantiated!\n");
684
696
                                  MusEGlobal::audio->msgAddPlugin(track, idx, plugi);
685
697
                                  MusEGlobal::song->update(SC_RACK);
 
698
                                  if (plugi->guiVisible())
 
699
                                    plugi->gui()->setWindowTitle(plugi->titlePrefix() + plugi->name());
686
700
                                  return;
687
701
                                  }
688
702
                              }