mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
Qt/MemoryCardEditor: Add tool tips for new card and open card buttons
This commit is contained in:
parent
39d1628da5
commit
d7196f1f85
|
@ -30,6 +30,13 @@ MemoryCardEditorDialog::MemoryCardEditorDialog(QWidget* parent) : QDialog(parent
|
|||
connectUi();
|
||||
populateComboBox(m_ui.cardAPath);
|
||||
populateComboBox(m_ui.cardBPath);
|
||||
|
||||
static constexpr char new_card_hover_text[] = TRANSLATABLE("MemoryCardEditorDialog", "New Card...");
|
||||
static constexpr char open_card_hover_text[] = TRANSLATABLE("MemoryCardEditorDialog", "Open Card...");
|
||||
m_ui.newCardA->setToolTip(QString(new_card_hover_text));
|
||||
m_ui.newCardB->setToolTip(QString(new_card_hover_text));
|
||||
m_ui.openCardA->setToolTip(QString(open_card_hover_text));
|
||||
m_ui.openCardB->setToolTip(QString(open_card_hover_text));
|
||||
}
|
||||
|
||||
MemoryCardEditorDialog::~MemoryCardEditorDialog() = default;
|
||||
|
|
Loading…
Reference in a new issue