Fix compile without gstreamer
This commit is contained in:
parent
ceb0f5ead4
commit
517285085a
@ -405,7 +405,9 @@ void ContextAlbumsView::contextMenuEvent(QContextMenuEvent *e) {
|
||||
|
||||
// TODO: check if custom plugin actions should be enabled / visible
|
||||
const int songs_selected = regular_elements;
|
||||
#ifdef HAVE_GSTREAMER
|
||||
const bool regular_elements_only = songs_selected == regular_elements && regular_elements > 0;
|
||||
#endif
|
||||
|
||||
// in all modes
|
||||
load_->setEnabled(songs_selected);
|
||||
|
@ -57,7 +57,9 @@
|
||||
#include "devicelister.h"
|
||||
#include "devicemanager.h"
|
||||
#include "deviceproperties.h"
|
||||
#include "transcoder/transcoder.h"
|
||||
#ifdef HAVE_GSTREAMER
|
||||
# include "transcoder/transcoder.h"
|
||||
#endif
|
||||
#include "ui_deviceproperties.h"
|
||||
|
||||
DeviceProperties::DeviceProperties(QWidget *parent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user