mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 17:44:48 -07:00
Added "Chat settings..." shortcut to chat cog
This commit is contained in:
parent
9b7f488bd7
commit
b41d64615d
4 changed files with 24 additions and 0 deletions
|
|
@ -773,6 +773,13 @@ void DlgSettings::changePage(QListWidgetItem *current, QListWidgetItem *previous
|
|||
pagesWidget->setCurrentIndex(contentsWidget->row(current));
|
||||
}
|
||||
|
||||
void DlgSettings::setTab(int index) {
|
||||
if (index <= contentsWidget->count()-1 && index >= 0) {
|
||||
changePage(contentsWidget->item(index), contentsWidget->currentItem());
|
||||
contentsWidget->setCurrentRow(index);
|
||||
}
|
||||
}
|
||||
|
||||
void DlgSettings::updateLanguage()
|
||||
{
|
||||
qApp->removeTranslator(translator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue