All pastes #752051 Raw Edit

PkPackage.cpp

public cpp v1 · immutable
#752051 ·published 2007-10-28 00:14 UTC
rendered paste body
void MainWindow::updatePackageDetails(const QModelIndex& index) {	descriptionTabs->show();	descriptionTabs->setEnabled(false);	PkPackage *p = packageModel->packageAtIndex(index);	// !p happens when the model gets cleared, because the view changes current	if(!p) return;	currentPackageId = p->id(); ///////////////////// This is the faulty line	pkController->getDescription(p);}