Merge pull request #14289 from Sintendo/typos
Fix various typos and spelling mistakes
This commit is contained in:
@@ -821,7 +821,7 @@ static void PaintStateIndicator(QPainter& painter, const QRect& region, ControlS
|
||||
QRect meter_region = region;
|
||||
meter_region.setWidth(region.width() * std::clamp(state, 0.0, 1.0));
|
||||
|
||||
// Create a temporary indicator object to retreive color constants.
|
||||
// Create a temporary indicator object to retrieve color constants.
|
||||
MappingIndicator indicator;
|
||||
|
||||
// Normal text.
|
||||
|
||||
@@ -676,7 +676,7 @@ void CodeViewWidget::OnContextMenu()
|
||||
|
||||
auto* note = m_ppc_symbol_db.GetNoteFromAddr(addr);
|
||||
note_edit_action->setEnabled(note != nullptr);
|
||||
// A note cannot be added ontop of the starting address of another note.
|
||||
// A note cannot be added on top of the starting address of another note.
|
||||
if (note != nullptr && note->address == addr)
|
||||
note_add_action->setEnabled(false);
|
||||
|
||||
|
||||
@@ -984,7 +984,7 @@ void MemoryViewWidget::ToggleHighlights(bool enabled)
|
||||
}
|
||||
else
|
||||
{
|
||||
// Treated as being interchangable with Qt::transparent.
|
||||
// Treated as being interchangeable with Qt::transparent.
|
||||
m_highlight_color.setAlpha(0);
|
||||
|
||||
// Immediately remove highlights when paused.
|
||||
@@ -1220,7 +1220,7 @@ void MemoryViewWidget::OnContextMenu(const QPoint& pos)
|
||||
|
||||
auto* note = m_ppc_symbol_db.GetNoteFromAddr(addr);
|
||||
note_edit_action->setEnabled(note != nullptr);
|
||||
// A note cannot be added ontop of the starting address of another note.
|
||||
// A note cannot be added on top of the starting address of another note.
|
||||
if (note != nullptr && note->address == addr)
|
||||
note_add_action->setEnabled(false);
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ enum class RegisterType
|
||||
int_mask, // ???
|
||||
int_cause, // ???
|
||||
dsisr, // Defines the cause of data / alignment exceptions
|
||||
dar, // Data adress register
|
||||
dar, // Data address register
|
||||
pt_hashmask // ???
|
||||
};
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ void ResourcePackManager::RepopulateTable()
|
||||
SelectionChanged();
|
||||
}
|
||||
|
||||
// Revert the indicies as to be more intuitive for users
|
||||
// Revert the indices as to be more intuitive for users
|
||||
int ResourcePackManager::GetResourcePackIndex(QTableWidgetItem* item) const
|
||||
{
|
||||
return m_table_widget->rowCount() - 1 - item->row();
|
||||
|
||||
@@ -18,7 +18,7 @@ public:
|
||||
void Hide();
|
||||
|
||||
signals:
|
||||
void Search(const QString& serach);
|
||||
void Search(const QString& search);
|
||||
|
||||
private:
|
||||
void CreateWidgets();
|
||||
|
||||
@@ -414,7 +414,7 @@ void Settings::SetStyleType(StyleType type)
|
||||
{
|
||||
GetQSettings().setValue(QStringLiteral("userstyle/styletype"), static_cast<int>(type));
|
||||
|
||||
// also set the old setting so that the config is correctly intepreted by older Dolphin builds
|
||||
// also set the old setting so that the config is correctly interpreted by older Dolphin builds
|
||||
GetQSettings().setValue(QStringLiteral("userstyle/enabled"), type == StyleType::User);
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ void AudioPane::CreateWidgets()
|
||||
const QFontMetrics font_metrics{font()};
|
||||
const int label_width = font_metrics.boundingRect(GetVolumeLabelText(100)).width();
|
||||
// Ensure the label is at least as wide as the QGroupBox title.
|
||||
// This prevents [-Volume] title uglyness on Windows.
|
||||
// This prevents [-Volume] title ugliness on Windows.
|
||||
const int title_width = font_metrics.boundingRect(volume_box->title()).width();
|
||||
m_volume_indicator->setFixedWidth(std::max(label_width, title_width));
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ void InterfacePane::CreateUI()
|
||||
m_combobox_language = MakeLanguageComboBox();
|
||||
combobox_layout->addRow(tr("&Language:"), m_combobox_language);
|
||||
|
||||
// List avalable themes
|
||||
// List available themes
|
||||
auto theme_paths =
|
||||
Common::DoFileSearch({File::GetUserPath(D_THEMES_IDX), File::GetSysDirectory() + THEMES_DIR});
|
||||
std::vector<std::string> theme_names;
|
||||
|
||||
@@ -198,7 +198,7 @@ TASSpinBox* TASInputWindow::CreateSliderValuePair(
|
||||
}
|
||||
|
||||
// The shortcut_widget argument needs to specify the container widget that will be hidden/shown.
|
||||
// This is done to avoid ambigous shortcuts
|
||||
// This is done to avoid ambiguous shortcuts
|
||||
TASSpinBox* TASInputWindow::CreateSliderValuePair(QBoxLayout* layout, int default_, int max,
|
||||
QKeySequence shortcut_key_sequence,
|
||||
Qt::Orientation orientation,
|
||||
|
||||
Reference in New Issue
Block a user