diff --git a/effects/internal/dropshadoweffect.cpp b/effects/internal/dropshadoweffect.cpp new file mode 100644 index 000000000..c7c0d61b6 --- /dev/null +++ b/effects/internal/dropshadoweffect.cpp @@ -0,0 +1,5 @@ +#include "dropshadoweffect.h" + +DropShadowEffect::DropShadowEffect() { + +} diff --git a/effects/internal/dropshadoweffect.h b/effects/internal/dropshadoweffect.h new file mode 100644 index 000000000..704053c59 --- /dev/null +++ b/effects/internal/dropshadoweffect.h @@ -0,0 +1,11 @@ +#ifndef DROPSHADOWEFFECT_H +#define DROPSHADOWEFFECT_H + + +class DropShadowEffect +{ +public: + DropShadowEffect(); +}; + +#endif // DROPSHADOWEFFECT_H \ No newline at end of file diff --git a/effects/internal/vsthost.cpp b/effects/internal/vsthost.cpp index cecf6b0ee..98fa3aaa4 100644 --- a/effects/internal/vsthost.cpp +++ b/effects/internal/vsthost.cpp @@ -108,6 +108,10 @@ typedef void (*processFuncPtr)(AEffect *effect, float **inputs, float **outputs, void VSTHost::loadPlugin() { QString dll_fn = file_field->get_filename(0, true); + if (dll_fn.isEmpty()) { + return; + } + #if defined(__APPLE__) bundle = BundleLoad(dll_fn); diff --git a/olive.pro b/olive.pro index 6864830e1..439789fbf 100644 --- a/olive.pro +++ b/olive.pro @@ -151,7 +151,8 @@ SOURCES += \ ui/focusfilter.cpp \ project/comboaction.cpp \ ui/mediaiconservice.cpp \ - ui/panel.cpp + ui/panel.cpp \ + effects/internal/dropshadoweffect.cpp HEADERS += \ mainwindow.h \ @@ -260,7 +261,8 @@ HEADERS += \ ui/focusfilter.h \ project/comboaction.h \ ui/mediaiconservice.h \ - ui/panel.h + ui/panel.h \ + effects/internal/dropshadoweffect.h FORMS +=