fixed some signal/slot connections and warnings

This commit is contained in:
Luis Ángel San Martín
2013-10-28 10:43:53 +01:00
parent 820c8bdeb3
commit 759bd048fc
9 changed files with 18 additions and 22 deletions

View File

@ -30,7 +30,7 @@ void YACReaderLibraryListWidget::addItem(QString name, QString path)
librariesList.insert(itr,library);
//connect(library,SIGNAL(selected(QString,QString)),this,SIGNAL(librarySelected(QString,QString)));
connect(library,SIGNAL(selected(QString,QString)),this,SLOT(updateLibraries(QString,QString)));
//connect(library,SIGNAL(selected(QString,QString)),this,SLOT(updateLibraries(QString,QString)));
mainLayout->insertWidget(i,library);
}
@ -125,4 +125,4 @@ void YACReaderLibraryListWidget::renameCurrentLibrary(QString newName)
mainLayout->insertWidget(i,itemWidget);
currentLibraryIndex = i;
}
}