Browse Source

Another one

tags/1.9.4
falkTX 11 years ago
parent
commit
d70a823b81
2 changed files with 2 additions and 5 deletions
  1. +1
    -1
      source/backend/plugin/NativePlugin.cpp
  2. +1
    -4
      source/carla_skin.py

+ 1
- 1
source/backend/plugin/NativePlugin.cpp View File

@@ -1832,7 +1832,7 @@ public:

void sampleRateChanged(const double newSampleRate) override
{
CARLA_ASSERT_INT(newSampleRate > 0.0, newSampleRate);
CARLA_ASSERT_INT(newSampleRate > 0.0, (int)newSampleRate);
carla_debug("NativePlugin::sampleRateChanged(%g)", newSampleRate);

if (fDescriptor != nullptr && fDescriptor->dispatcher != nullptr)


+ 1
- 4
source/carla_skin.py View File

@@ -563,7 +563,7 @@ class PluginSlot_Calf(PluginSlot):
# Set-up GUI

self.setStyleSheet("""
* {
QLabel {
color: black;
}
QFrame#PluginWidget {
@@ -571,8 +571,6 @@ class PluginSlot_Calf(PluginSlot):
background-repeat: repeat-xy;
}""")

#self.ui.b_enable.setPixmaps(":/bitmaps/button_off.png", ":/bitmaps/button_on.png", ":/bitmaps/button_off.png")

self.ui.b_gui.setPixmaps(":/bitmaps/button_calf2.png", ":/bitmaps/button_calf2_down.png", ":/bitmaps/button_calf2_hover.png")
self.ui.b_edit.setPixmaps(":/bitmaps/button_calf2.png", ":/bitmaps/button_calf2_down.png", ":/bitmaps/button_calf2_hover.png")
self.ui.b_remove.setPixmaps(":/bitmaps/button_calf1.png", ":/bitmaps/button_calf1_down.png", ":/bitmaps/button_calf1_hover.png")
@@ -595,7 +593,6 @@ class PluginSlot_Calf(PluginSlot):
# -------------------------------------------------------------
# Set-up connections

#self.ui.b_enable.clicked.connect(self.slot_enableClicked)
self.ui.b_gui.clicked.connect(self.slot_showCustomUi)
self.ui.b_edit.clicked.connect(self.slot_showEditDialog)
self.ui.b_remove.clicked.connect(self.slot_removePlugin)


Loading…
Cancel
Save