mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 19:45:31 +01:00
watch out for optional last.fm dependencies in AlbumCoverChoiceController -> fixes issue #1393
from the creators of "david is always right" movie -> maybe fix issue #1396
This commit is contained in:
parent
2959dbff85
commit
5b5d3f0c2e
@ -194,7 +194,7 @@ void LibraryFilterWidget::SetFilterHint(const QString& hint) {
|
||||
|
||||
void LibraryFilterWidget::SetDuplicatesOnly(bool duplicates_only) {
|
||||
// no filtering in duplicates_only mode
|
||||
ui_->filter->setText("");
|
||||
static_cast<QLineEdit*>(ui_->filter)->clear();
|
||||
ui_->filter->setEnabled(!duplicates_only);
|
||||
|
||||
model_->SetFilterDuplicatesOnly(duplicates_only);
|
||||
|
@ -16,15 +16,18 @@
|
||||
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "core/albumcoverfetcher.h"
|
||||
#include "core/albumcoverloader.h"
|
||||
#include "library/librarybackend.h"
|
||||
#include "ui/albumcoverchoicecontroller.h"
|
||||
#include "ui/albumcovermanager.h"
|
||||
#include "ui/albumcoversearcher.h"
|
||||
#include "ui/coverfromurldialog.h"
|
||||
#include "ui/iconloader.h"
|
||||
|
||||
#ifdef HAVE_LIBLASTFM
|
||||
# include "ui/albumcoversearcher.h"
|
||||
# include "core/albumcoverfetcher.h"
|
||||
#endif
|
||||
|
||||
#include <QAction>
|
||||
#include <QCryptographicHash>
|
||||
#include <QDialog>
|
||||
|
@ -23,8 +23,11 @@
|
||||
#include <QMenu>
|
||||
#include <QWidget>
|
||||
|
||||
class AlbumCoverFetcher;
|
||||
class AlbumCoverSearcher;
|
||||
#ifdef HAVE_LIBLASTFM
|
||||
class AlbumCoverFetcher;
|
||||
class AlbumCoverSearcher;
|
||||
#endif
|
||||
|
||||
class CoverFromURLDialog;
|
||||
class LibraryBackend;
|
||||
class Song;
|
||||
|
Loading…
x
Reference in New Issue
Block a user