mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-20 15:41:23 +01:00
2021-02-02 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'Autofill Carts' dialog in rdadmin(1) to use the model-based API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -182,7 +182,6 @@ QSize RDCartDialog::sizeHint() const
|
||||
int RDCartDialog::exec(int *cartnum,RDCart::Type type,const QString &svc,
|
||||
bool *temp_allowed)
|
||||
{
|
||||
printf("RDCartDialog service: %s\n",svc.toUtf8().constData());
|
||||
LoadState();
|
||||
cart_cart_filter->setShowCartType(type);
|
||||
cart_cart_filter->setService(svc);
|
||||
@@ -416,7 +415,7 @@ void RDCartDialog::loadFileData()
|
||||
delete conv;
|
||||
delete cart;
|
||||
delete cut;
|
||||
done(0);
|
||||
done(true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -438,7 +437,7 @@ void RDCartDialog::okData()
|
||||
}
|
||||
}
|
||||
|
||||
done(0);
|
||||
done(true);
|
||||
}
|
||||
|
||||
|
||||
@@ -448,7 +447,7 @@ void RDCartDialog::cancelData()
|
||||
if(cart_player!=NULL) {
|
||||
cart_player->stop();
|
||||
}
|
||||
done(-1);
|
||||
done(false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user