mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 06:34:13 +00:00
obs-studio-plugins.obs-hyperion: patch stateChanged deprecation
This commit is contained in:
parent
2026af42ed
commit
c3ceedeac1
@ -0,0 +1,13 @@
|
||||
diff --git a/src/HyperionProperties.cpp b/src/HyperionProperties.cpp
|
||||
index b585702..3fd308c 100644
|
||||
--- a/src/HyperionProperties.cpp
|
||||
+++ b/src/HyperionProperties.cpp
|
||||
@@ -59,7 +59,7 @@ HyperionProperties::HyperionProperties(QWidget *parent)
|
||||
signal_handler_connect(handler, "log", logger_message, this);
|
||||
|
||||
connect(ui->ButtonStart, &QPushButton::clicked, this, &HyperionProperties::saveSettings);
|
||||
- connect(ui->AutoStart, &QCheckBox::stateChanged, this, &HyperionProperties::saveSettings);
|
||||
+ connect(ui->AutoStart, &QCheckBox::checkStateChanged, this, &HyperionProperties::saveSettings);
|
||||
|
||||
connect(ui->ButtonStart, &QPushButton::clicked, this, &HyperionProperties::onStart);
|
||||
connect(ui->ButtonStop, &QPushButton::clicked, this, &HyperionProperties::onStop);
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
patches = [ ./check-state-changed.patch ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DOBS_SOURCE=${obs-studio.src}"
|
||||
"-DGLOBAL_INSTALLATION=ON"
|
||||
|
Loading…
Reference in New Issue
Block a user