Commit 7e139f34 authored by Andrius Štikonas's avatar Andrius Štikonas

Only show Close button in highscore dialog.

parent 7e500220
...@@ -257,6 +257,8 @@ HighscoresDialog::HighscoresDialog(int rank, QWidget *parent) ...@@ -257,6 +257,8 @@ HighscoresDialog::HighscoresDialog(int rank, QWidget *parent)
connect(this, &KPageDialog::currentPageChanged, connect(this, &KPageDialog::currentPageChanged,
this, &HighscoresDialog::highscorePageChanged); this, &HighscoresDialog::highscorePageChanged);
setCurrentPage(_pages[internal->gameType()]); setCurrentPage(_pages[internal->gameType()]);
setStandardButtons(QDialogButtonBox::Close);
} }
void HighscoresDialog::highscorePageChanged(KPageWidgetItem* page, KPageWidgetItem* pageold) void HighscoresDialog::highscorePageChanged(KPageWidgetItem* page, KPageWidgetItem* pageold)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment