Commit 75ae66eb authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: fix viewchange if MEDIA_LIBRARY not defined on compile-time

parent 962bd368
......@@ -350,6 +350,9 @@ void StandardPLPanel::changeModel( bool b_ml )
mod = model;
if( currentView->model() != mod )
currentView->setModel( mod );
#else
if( currentView->model() != model )
currentView->setModel( model );
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment