# HG changeset patch # User Paper # Date 1699296491 18000 # Node ID 32afe0e940bf1b00600d68a90e8cb8617105d09d # Parent 80f49f623d303101b23ae1cdb82c7b51ead6ecf8 window: remove tiny little debug thing diff -r 80f49f623d30 -r 32afe0e940bf src/gui/window.cc --- 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();