diff options
Diffstat (limited to 'src/gui/studio/AudioPluginOSCGUIManager.cpp')
-rw-r--r-- | src/gui/studio/AudioPluginOSCGUIManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/studio/AudioPluginOSCGUIManager.cpp b/src/gui/studio/AudioPluginOSCGUIManager.cpp index 6662a53..01ade9c 100644 --- a/src/gui/studio/AudioPluginOSCGUIManager.cpp +++ b/src/gui/studio/AudioPluginOSCGUIManager.cpp @@ -146,7 +146,7 @@ AudioPluginOSCGUIManager::hasGUI(InstrumentId instrument, int position) try { TQString filePath = AudioPluginOSCGUI::getGUIFilePath (strtoqstr(pluginInstance->getIdentifier())); - return (filePath && filePath != ""); + return (!filePath.isNull() && filePath != ""); } catch (Exception e) { // that's OK return false; } |