diff src/dialog/information.cpp @ 3:190ded9438c0

Fix many warnings
author Paper <mrpapersonic@gmail.com>
date Sat, 12 Aug 2023 11:57:25 -0400
parents 23d0d9319a00
children 1d82f6e04d7d
line wrap: on
line diff
--- a/src/dialog/information.cpp	Sat Aug 12 03:16:26 2023 -0400
+++ b/src/dialog/information.cpp	Sat Aug 12 11:57:25 2023 -0400
@@ -52,9 +52,9 @@
 	UiUtils::CreateSelectableTextParagraph(main_information_widget, "Synopsis", QString::fromWCharArray(anime->synopsis.c_str()), QPoint(6, 202), QSize(636-18, 253));
 	tabbed_widget->addTab(main_information_widget, "Main information");
 	QWidget* settings_widget = new QWidget(tabbed_widget);
-	
+	tabbed_widget->addTab(settings_widget, "My list and settings");
 	QDialogButtonBox* button_box = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
-	connect(button_box, &QDialogButtonBox::accepted, this, &OnOK);
+	connect(button_box, &QDialogButtonBox::accepted, this, &InformationDialog::OnOK);
 	connect(button_box, &QDialogButtonBox::rejected, this, &QDialog::reject);
 	QVBoxLayout* buttons_layout = new QVBoxLayout(widget);
 	buttons_layout->addWidget(widget, 0, Qt::AlignTop);