an int signal doesn't connect to a size_t slot
authorDiane Trout <diane@caltech.edu>
Tue, 4 Apr 2006 03:35:02 +0000 (03:35 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 4 Apr 2006 03:35:02 +0000 (03:35 +0000)
qui/MussaAlignedWindow.cpp
qui/MussaAlignedWindow.hpp

index 16505671a8cb83123008aad158a6f4bea306a617..e4c058ef7bf99a8fb3ad7dcbaf3b281fa985324b 100644 (file)
@@ -104,7 +104,7 @@ void MussaAlignedWindow::setupMenus()
     pick_actions.push_back(pick);
     pick_align_menu.addAction(pick);
     IntAction *view = new IntAction(QString(menu_text.str().c_str()), index, this);
-    connect(view, SIGNAL(triggered(int)), this, SLOT(toggleViewAlignment(size_t)));
+    connect(view, SIGNAL(triggered(int)), this, SLOT(toggleViewAlignment(int)));
     view->setCheckable(true);
     view->setChecked(true);
     view_actions.push_back(view);
@@ -119,7 +119,7 @@ void MussaAlignedWindow::setAlignment(int alignment_index)
   }
 }
 
-void MussaAlignedWindow::toggleViewAlignment(size_t alignment_index)
+void MussaAlignedWindow::toggleViewAlignment(int alignment_index)
 {
   view_paths[alignment_index]= not view_paths[alignment_index]; 
   // perhaps it'd be better if we could erase specific sets
index afa24a95a05235269400b97e797abf7b359b494b..e7bc5ccd4dc00f56a0e1a9d671fdc0427fd41690 100644 (file)
@@ -24,7 +24,7 @@ public slots:
   //! use selected_paths[pathid] to set the starting position of our sequence
   void setAlignment(int pathid);
   //! toggle whether or not to show the aligned basepairs of a window
-  void toggleViewAlignment(size_t alignment_index);
+  void toggleViewAlignment(int alignment_index);
 
   //! just force updating the window
   void update();