Skip to content

Commit

Permalink
20240704 Update dlgprefdeck.cpp
Browse files Browse the repository at this point in the history
20240704 Update dlgprefdeck.cpp
nowplaying dlg settings var
  • Loading branch information
Eve00000 authored Jul 4, 2024
1 parent bb8579a commit 9c1da43
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/preferences/dialog/dlgprefdeck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ DlgPrefDeck::DlgPrefDeck(QWidget* parent, UserSettingsPointer pConfig)
this,
&DlgPrefDeck::slotCueModeCombobox);

// create nowplayingfile checkbox
CreateNowPlayingFileCheckBox->setChecked(m_pConfig->getValue(

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'CreateNowPlayingFileCheckBox': undeclared identifier

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Ubuntu 22.04

‘CreateNowPlayingFileCheckBox’ was not declared in this scope; did you mean ‘CreateStatusFilesCheckBox’?

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'CreateNowPlayingFileCheckBox': undeclared identifier

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

use of undeclared identifier 'CreateNowPlayingFileCheckBox'

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / coverage

‘CreateNowPlayingFileCheckBox’ was not declared in this scope; did you mean ‘CreateStatusFilesCheckBox’?

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Ubuntu 22.04

‘CreateNowPlayingFileCheckBox’ was not declared in this scope; did you mean ‘CreateStatusFilesCheckBox’?

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / coverage

‘CreateNowPlayingFileCheckBox’ was not declared in this scope; did you mean ‘CreateStatusFilesCheckBox’?

Check failure on line 78 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

use of undeclared identifier 'CreateNowPlayingFileCheckBox'
ConfigKey("[Controls]", "CreateNowPlayingFile"), true));
connect(CreateNowPlayingFileCheckBox,

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'; did you mean 'CreateStatusFilesCheckBox'?

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'; did you mean 'CreateStatusFilesCheckBox'?

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'CreateNowPlayingFileCheckBox': undeclared identifier

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'; did you mean 'CreateStatusFilesCheckBox'?

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

use of undeclared identifier 'CreateNowPlayingFileCheckBox'; did you mean 'CreateStatusFilesCheckBox'?

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'CreateNowPlayingFileCheckBox': undeclared identifier

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

use of undeclared identifier 'CreateNowPlayingFileCheckBox'; did you mean 'CreateStatusFilesCheckBox'?

Check failure on line 80 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

use of undeclared identifier 'CreateNowPlayingFileCheckBox'; did you mean 'CreateStatusFilesCheckBox'?
&QCheckBox::stateChanged,
this,
&DlgPrefDeck::slotToggleCreateNowPlayingFile);

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

no member named 'slotToggleCreateNowPlayingFile' in 'DlgPrefDeck'; did you mean '::DlgPrefDeck::slotToggleCreateStatusFiles'?

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

no member named 'slotToggleCreateNowPlayingFile' in 'DlgPrefDeck'; did you mean '::DlgPrefDeck::slotToggleCreateStatusFiles'?

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'slotToggleCreateNowPlayingFile': is not a member of 'DlgPrefDeck'

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'slotToggleCreateNowPlayingFile': undeclared identifier

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

no member named 'slotToggleCreateNowPlayingFile' in 'DlgPrefDeck'; did you mean '::DlgPrefDeck::slotToggleCreateStatusFiles'?

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

no member named 'slotToggleCreateNowPlayingFile' in 'DlgPrefDeck'; did you mean '::DlgPrefDeck::slotToggleCreateStatusFiles'?

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Ubuntu 22.04

‘slotToggleCreateNowPlayingFile’ is not a member of ‘DlgPrefDeck’

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'slotToggleCreateNowPlayingFile': is not a member of 'DlgPrefDeck'

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'slotToggleCreateNowPlayingFile': undeclared identifier

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

no member named 'slotToggleCreateNowPlayingFile' in 'DlgPrefDeck'; did you mean '::DlgPrefDeck::slotToggleCreateStatusFiles'?

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / coverage

‘slotToggleCreateNowPlayingFile’ is not a member of ‘DlgPrefDeck’

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Ubuntu 22.04

‘slotToggleCreateNowPlayingFile’ is not a member of ‘DlgPrefDeck’

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / coverage

‘slotToggleCreateNowPlayingFile’ is not a member of ‘DlgPrefDeck’

Check failure on line 83 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

no member named 'slotToggleCreateNowPlayingFile' in 'DlgPrefDeck'; did you mean '::DlgPrefDeck::slotToggleCreateStatusFiles'?

// create statusfiles checkbox
CreateStatusFilesCheckBox->setChecked(m_pConfig->getValue(
ConfigKey("[Controls]", "CreateStatusFiles"), true));
Expand Down Expand Up @@ -773,7 +781,8 @@ void DlgPrefDeck::slotApply() {
m_pConfig->setValue(ConfigKey("[Controls]", "RatePermLeft"), m_dRatePermCoarse);
m_pConfig->setValue(ConfigKey("[Controls]", "RatePermRight"), m_dRatePermFine);

m_pConfig->setValue(ConfigKey("[Controls]", "CreateStatusFiles"), m_pConfig->getValue(ConfigKey("[Controls]", "CreateStatusFiles"), false));
m_pConfig->setValue(ConfigKey("[Controls]", "CreateStatusFiles"), m_pConfig->getValue(ConfigKey("[Controls]", "CreateStatusFiles"), false));
m_pConfig->setValue(ConfigKey("[Controls]", "CreateNowPlayingFile"), m_pConfig->getValue(ConfigKey("[Controls]", "CreateNowPlayingFile"), false));
}

void DlgPrefDeck::slotNumDecksChanged(double new_count, bool initializing) {
Expand Down Expand Up @@ -867,3 +876,9 @@ void DlgPrefDeck::slotToggleCreateStatusFiles(int buttonState) {
m_pConfig->setValue(ConfigKey("[Controls]", "CreateStatusFiles"),
enable);
}

void DlgPrefDeck::slotToggleCreateNowPlayingFile(int buttonState) {

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

out-of-line definition of 'slotToggleCreateNowPlayingFile' does not match any declaration in 'DlgPrefDeck'

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

out-of-line definition of 'slotToggleCreateNowPlayingFile' does not match any declaration in 'DlgPrefDeck'

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'slotToggleCreateNowPlayingFile': is not a member of 'DlgPrefDeck'

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

out-of-line definition of 'slotToggleCreateNowPlayingFile' does not match any declaration in 'DlgPrefDeck'

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

out-of-line definition of 'slotToggleCreateNowPlayingFile' does not match any declaration in 'DlgPrefDeck'

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Ubuntu 22.04

no declaration matches ‘void DlgPrefDeck::slotToggleCreateNowPlayingFile(int)’

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'slotToggleCreateNowPlayingFile': is not a member of 'DlgPrefDeck'

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

out-of-line definition of 'slotToggleCreateNowPlayingFile' does not match any declaration in 'DlgPrefDeck'

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / coverage

no declaration matches ‘void DlgPrefDeck::slotToggleCreateNowPlayingFile(int)’

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Ubuntu 22.04

no declaration matches ‘void DlgPrefDeck::slotToggleCreateNowPlayingFile(int)’

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / coverage

no declaration matches ‘void DlgPrefDeck::slotToggleCreateNowPlayingFile(int)’

Check failure on line 880 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / clazy

out-of-line definition of 'slotToggleCreateNowPlayingFile' does not match any declaration in 'DlgPrefDeck'
bool enable = buttonState == Qt::Checked;
m_pConfig->setValue(ConfigKey("[Controls]", "CreateNowPlayingFile"),

Check failure on line 882 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'm_pConfig': undeclared identifier

Check failure on line 882 in src/preferences/dialog/dlgprefdeck.cpp

View workflow job for this annotation

GitHub Actions / Windows 2019 (MSVC)

'm_pConfig': undeclared identifier
enable);
}

0 comments on commit 9c1da43

Please sign in to comment.