Compilation error when PHONON not present

This commit is contained in:
Andre Bernet
2014-04-09 12:58:48 +02:00
parent ea1e7bdc87
commit 5c4e921899
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -49,10 +49,13 @@ void RepeatComboBox::update()
CustomFunctionsPanel::CustomFunctionsPanel(QWidget * parent, ModelData & model, GeneralSettings & generalSettings):
ModelPanel(parent, model, generalSettings),
initialized(false),
initialized(false)
#if defined(PHONON)
,
phononCurrent(-1),
clickObject(NULL),
clickOutput(NULL)
#endif
{
QGridLayout * gridLayout = new QGridLayout(this);
+1 -1
View File
@@ -45,9 +45,9 @@ class CustomFunctionsPanel : public ModelPanel
void customFunctionEdited();
void fsw_customContextMenuRequested(QPoint pos);
void refreshCustomFunction(int index, bool modified=false);
void playMusic();
void onChildModified();
#ifdef PHONON
void playMusic();
void mediaPlayer_state(Phonon::State newState, Phonon::State oldState);
#endif
void fswDelete();