|
Lines 61-66
Link Here
|
| 61 |
this, SLOT ( filterIfVisible()) ); |
61 |
this, SLOT ( filterIfVisible()) ); |
| 62 |
setIconSize(QSize(32,32)); |
62 |
setIconSize(QSize(32,32)); |
| 63 |
fillList(); |
63 |
fillList(); |
|
|
64 |
setSortingEnabled( true ); |
| 65 |
sortByColumn( nameCol(), Qt::AscendingOrder ); |
| 64 |
selectSomething(); |
66 |
selectSomething(); |
| 65 |
|
67 |
|
| 66 |
yuiDebug() << "Creating repository list done" << endl; |
68 |
yuiDebug() << "Creating repository list done" << endl; |
|
Lines 358-363
Link Here
|
| 358 |
return product; |
360 |
return product; |
| 359 |
} |
361 |
} |
| 360 |
|
362 |
|
|
|
363 |
bool |
| 364 |
YQPkgRepoListItem::operator< ( const QTreeWidgetItem & other ) const |
| 365 |
{ |
| 366 |
const YQPkgRepoListItem * otherItem = dynamic_cast<const YQPkgRepoListItem *>(&other); |
| 361 |
|
367 |
|
|
|
368 |
return zyppRepo().info().name() < otherItem->zyppRepo().info().name(); |
| 369 |
} |
| 362 |
|
370 |
|
| 363 |
#include "YQPkgRepoList.moc" |
371 |
#include "YQPkgRepoList.moc" |