Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-1292

Dotplot: code refactoring

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      DEV-2013/08/08
    • Affect Type:
      Technical

      Description

      DotPlotWidget.cpp:

      connect(AppContext::getTaskScheduler(), SIGNAL(si_stateChanged(Task*)), SLOT(sl_taskFinished(Task*)));
      
      void DotPlotWidget::sl_taskFinished(Task *task) {
      
          Q_ASSERT(task);
          if ( task != dotPlotTask || task->getState() != Task::State_Finished) {
              return;
          }
      

      All tasks in UGENE call this slot if Dotplot is opened.

      And the results of all dotplot tasks (load, save, filter, change parameters) are handled in this slot. It leads to new bugs (e.g UGENE-1290).

        Attachments

          Activity

            People

            Assignee:
            shutov Shutov Ilya
            Reporter:
            ggrekhov German Grekhov
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Time Spent - 1 hour Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 1 hour Remaining Estimate - 1 hour
                1h