From bc0fc0bbf4557f66b8ee2ed82b1a8a4881b5856c Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Mon, 23 Jan 2023 10:44:14 -0500 Subject: Fix comments and remove misleading comment. --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 2e4b19b..3a2c5d2 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -74,7 +74,7 @@ void MainWindow::on_actionAbout_triggered(bool checked) { void MainWindow::on_listWidget_itemActivated(QListWidgetItem *item) { ListItem* casted = dynamic_cast(item); - if (casted != nullptr) { // this is always a nullptr, but it should work?? https://cplusplus.com/forum/beginner/78766/ + if (casted != nullptr) { QString status_info = data_archive->get_html_status_info(casted->get_status_index(), ui->statusInfoText->width()); ui->statusInfoText->setHtml(status_info); } -- cgit v1.2.3-54-g00ecf