}
int index = pathz_i - selected_paths.begin();
IntAction *pick = new IntAction(QString(menu_text.str().c_str()), index, this);
- connect(pick, SIGNAL(triggered(int)), this, SLOT(setAlignment(size_t)));
+ connect(pick, SIGNAL(triggered(int)), this, SLOT(setAlignment(int)));
pick_actions.push_back(pick);
pick_align_menu.addAction(pick);
IntAction *view = new IntAction(QString(menu_text.str().c_str()), index, this);
}
}
-void MussaAlignedWindow::setAlignment(size_t alignment_index)
+void MussaAlignedWindow::setAlignment(int alignment_index)
{
if (selected_paths.size() > 0) {
browser.centerOnPath(selected_paths[alignment_index].normalizedIndexes());
public slots:
//! use selected_paths[pathid] to set the starting position of our sequence
- void setAlignment(size_t pathid);
+ void setAlignment(int pathid);
//! toggle whether or not to show the aligned basepairs of a window
void toggleViewAlignment(size_t alignment_index);