Mercurial > minori
changeset 113:32afe0e940bf
window: remove tiny little debug thing
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 06 Nov 2023 13:48:11 -0500 |
parents | 80f49f623d30 |
children | ab191e28e69d |
files | src/gui/window.cc |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui/window.cc Mon Nov 06 13:41:30 2023 -0500 +++ b/src/gui/window.cc Mon Nov 06 13:48:11 2023 -0500 @@ -115,10 +115,6 @@ stack->addWidget(new SeasonsPage(main_widget)); stack->addWidget(new TorrentsPage(main_widget)); - connect(sidebar, &SideBar::CurrentItemChanged, this, [](int index){ - std::cout << index << std::endl; - }); - connect(sidebar, &SideBar::CurrentItemChanged, stack, &QStackedWidget::setCurrentIndex); sidebar->SetCurrentItem(page); @@ -313,7 +309,8 @@ } void MainWindow::RetranslateUI() { - /* Temporarily disable UI updates so we don't flash the screen */ + /* This kinda sucks but nobody's really going to be changing + the application language all the time :p */ setUpdatesEnabled(false); AddMainWidgets(); CreateBars();