| 165 | } |
| 166 | |
| 167 | bool ResourcePage::setCurrentPack(ModPlatform::IndexedPack::Ptr pack) |
| 168 | { |
| 169 | QVariant v; |
| 170 | v.setValue(pack); |
| 171 | return m_model->setData(m_ui->packView->currentIndex(), v, Qt::UserRole); |
| 172 | } |
| 173 | |
| 174 | ModPlatform::IndexedPack::Ptr ResourcePage::getCurrentPack() const |
| 175 | { |