mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 20:09:50 +01:00
Included OpenRipCD in a conditional
This commit is contained in:
parent
d07174c1d4
commit
bbf7ff61af
@ -1678,7 +1678,8 @@ void MainWindow::AddStreamAccepted() {
|
||||
AddToPlaylist(data);
|
||||
}
|
||||
|
||||
void MainWindow::OpenRipCD() {
|
||||
#ifdef HAVE_AUDIOCD
|
||||
void MainWindow::OpenRipCD() {
|
||||
if (!rip_cd_) {
|
||||
rip_cd_.reset(new RipCD);
|
||||
}
|
||||
@ -1688,7 +1689,8 @@ void MainWindow::OpenRipCD() {
|
||||
QMessageBox cdio_fail(QMessageBox::Critical, tr("Error"), tr("Failed reading CD drive"));
|
||||
cdio_fail.exec();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void MainWindow::AddCDTracks() {
|
||||
MimeData* data = new MimeData;
|
||||
|
Loading…
Reference in New Issue
Block a user