mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2021-02-05 Fred Gleason <fredg@paravelsystems.com>
* Removed dead method from 'RDCartDialog'. * Fixed a bug in rdlogedit(1) that made it impossible to select a cart in the 'Select Cart' dialog. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -245,23 +245,6 @@ QSizePolicy RDCartDialog::sizePolicy() const
|
||||
}
|
||||
|
||||
|
||||
void RDCartDialog::clickedData(Q3ListViewItem *item)
|
||||
{
|
||||
RDListViewItem *i=(RDListViewItem *)item;
|
||||
if (i==NULL) {
|
||||
return;
|
||||
}
|
||||
cart_ok_button->setEnabled(true);
|
||||
bool audio=((RDCart::Type)i->id())==RDCart::Audio;
|
||||
if(cart_player!=NULL) {
|
||||
cart_player->playButton()->setEnabled(audio);
|
||||
cart_player->stopButton()->setEnabled(audio);
|
||||
cart_player->setCart(i->text(1).toUInt());
|
||||
}
|
||||
cart_editor_button->setEnabled(audio);
|
||||
}
|
||||
|
||||
|
||||
void RDCartDialog::cartDoubleClickedData(const QModelIndex &index)
|
||||
{
|
||||
okData();
|
||||
|
||||
@@ -54,7 +54,6 @@ class RDCartDialog : public RDDialog
|
||||
|
||||
private slots:
|
||||
void modelResetData();
|
||||
void clickedData(Q3ListViewItem *item);
|
||||
void cartDoubleClickedData(const QModelIndex &index);
|
||||
void selectionChangedData(const QItemSelection &before,
|
||||
const QItemSelection &after);
|
||||
|
||||
Reference in New Issue
Block a user