mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Remove check for updates on Linux
This commit is contained in:
parent
4bd4b6bab5
commit
4d478c5ca5
@ -1654,6 +1654,11 @@ void OBSBasic::OBSInit()
|
|||||||
|
|
||||||
ui->viewMenu->addAction(QTStr("MultiviewWindowed"),
|
ui->viewMenu->addAction(QTStr("MultiviewWindowed"),
|
||||||
this, SLOT(OpenMultiviewWindow()));
|
this, SLOT(OpenMultiviewWindow()));
|
||||||
|
|
||||||
|
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||||
|
delete ui->actionCheckForUpdates;
|
||||||
|
ui->actionCheckForUpdates = nullptr;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void OBSBasic::InitHotkeys()
|
void OBSBasic::InitHotkeys()
|
||||||
|
@ -443,10 +443,13 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
|
|||||||
HookWidget(ui->enableNewSocketLoop, CHECK_CHANGED, ADV_CHANGED);
|
HookWidget(ui->enableNewSocketLoop, CHECK_CHANGED, ADV_CHANGED);
|
||||||
HookWidget(ui->enableLowLatencyMode, CHECK_CHANGED, ADV_CHANGED);
|
HookWidget(ui->enableLowLatencyMode, CHECK_CHANGED, ADV_CHANGED);
|
||||||
|
|
||||||
#if !defined(_WIN32) && !defined(__APPLE__) && !HAVE_PULSEAUDIO
|
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||||
delete ui->enableAutoUpdates;
|
delete ui->enableAutoUpdates;
|
||||||
delete ui->advAudioGroupBox;
|
|
||||||
ui->enableAutoUpdates = nullptr;
|
ui->enableAutoUpdates = nullptr;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(_WIN32) && !defined(__APPLE__) && !HAVE_PULSEAUDIO
|
||||||
|
delete ui->advAudioGroupBox;
|
||||||
ui->advAudioGroupBox = nullptr;
|
ui->advAudioGroupBox = nullptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user