Skip to content

Commit

Permalink
Cleanup some whitespace in programs/mythtv-setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoet committed Aug 12, 2022
1 parent 70632d3 commit 26b2e76
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythtv-setup/channeleditor.cpp
Expand Up @@ -666,7 +666,7 @@ void ChannelEditor::scan(void)
// Check that we have a videosource and a connected capture card
if (!check_cardsource(m_sourceFilter, m_sourceFilterName))
return;

// Create the dialog now that we have a video source and a capture card
MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
auto *ssd = new StandardSettingDialog(mainStack, "scanwizard",
Expand Down Expand Up @@ -706,7 +706,7 @@ void ChannelEditor::transportEditor(void)
// Check that we have a videosource and a connected capture card
if (!check_cardsource(m_sourceFilter, m_sourceFilterName))
return;

// Create the dialog now that we have a video source and a capture card
MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
auto *ssd = new StandardSettingDialog(mainStack, "transporteditor",
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythtv-setup/checksetup.cpp
Expand Up @@ -167,7 +167,7 @@ bool checkImageStoragePaths(QStringList &probs)
LOG(VB_GENERAL, LOG_ERR, trMesg);
problemFound = true;
}
}
}

return problemFound;
}
Expand Down
6 changes: 3 additions & 3 deletions mythtv/programs/mythtv-setup/exitprompt.cpp
Expand Up @@ -97,11 +97,11 @@ void ExitPrompter::handleExit()
}

dia->SetReturnEvent(this, "problemprompt");

dia->AddButton(tr("Yes please"));
dia->AddButton(tr("No, I know what I am doing"),
&ExitPrompter::masterPromptExit);

m_d->m_stk->AddScreen(dia);
}
else
Expand All @@ -116,7 +116,7 @@ void ExitPrompter::customEvent(QEvent *event)

QString resultid= dce->GetId();
int buttonnum = dce->GetResult();

if (resultid == "mythfillprompt")
{
quit();
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythtv-setup/importicons.cpp
Expand Up @@ -413,7 +413,7 @@ bool ImportIconsWizard::initialLoad(const QString& name)
if (!m_missingEntries.empty())
{
message.append("\n");
message.append(tr("Could not find %n icon(s).", "",
message.append(tr("Could not find %n icon(s).", "",
m_missingEntries.size()));
}

Expand Down
Expand Up @@ -42,7 +42,7 @@ void MythTVSetupCommandLineParser::LoadArguments(void)
"line channel scanner");
add("--region", "region", "us", "",
"Specify the region for the frequency standard to be used with command "
"line channel scanner");
"line channel scanner");

add("--input-name", "inputname", "", "",
"Specify which input to scan for, if specified card "
Expand Down
4 changes: 2 additions & 2 deletions mythtv/programs/mythtv-setup/startprompt.cpp
Expand Up @@ -39,7 +39,7 @@ void StartPrompter::handleStart()
if (MythCoreContext::BackendIsRunning() && gCoreContext->IsMasterHost())
{
backendRunningPrompt();
}
}
}

void StartPrompter::leaveBackendRunning()
Expand Down Expand Up @@ -69,7 +69,7 @@ void StartPrompter::backendRunningPrompt(void)
{
backendIsRecording = RemoteGetRecordingStatus(nullptr, false);
}

QString warning = tr("WARNING: The backend is currently running.")+"\n\n"+
tr("Changing existing card inputs, deleting anything, "
"or scanning for channels may not work.")+"\n\n";
Expand Down

0 comments on commit 26b2e76

Please sign in to comment.