comparison src/gui/dialog/information.cpp @ 77:6f7385bd334c

*: update formatted all source files, no more subclassing QThread... many other changes :)
author Paper <mrpapersonic@gmail.com>
date Fri, 06 Oct 2023 06:18:53 -0400
parents 3364fadc8a36
children
comparison
equal deleted inserted replaced
76:3364fadc8a36 77:6f7385bd334c
233 CREATE_FULL_WIDTH_SECTION(sg_local_content, { 233 CREATE_FULL_WIDTH_SECTION(sg_local_content, {
234 /* Alternative titles */ 234 /* Alternative titles */
235 CREATE_FULL_WIDTH_SUBSECTION({ 235 CREATE_FULL_WIDTH_SUBSECTION({
236 subsection_layout->addWidget(new QLabel(tr("Alternative titles:"), subsection)); 236 subsection_layout->addWidget(new QLabel(tr("Alternative titles:"), subsection));
237 237
238 QLineEdit* line_edit = new QLineEdit(Strings::ToQString(anime.GetUserNotes()), subsection); 238 QLineEdit* line_edit = new QLineEdit("", subsection);
239 line_edit->setPlaceholderText( 239 line_edit->setPlaceholderText(
240 tr("Enter alternative titles here, separated by a semicolon (i.e. Title 1; Title 2)")); 240 tr("Enter alternative titles here, separated by a semicolon (i.e. Title 1; Title 2)"));
241 subsection_layout->addWidget(line_edit); 241 subsection_layout->addWidget(line_edit);
242 242
243 QCheckBox* checkbox = new QCheckBox(tr("Use the first alternative title to search for torrents")); 243 QCheckBox* checkbox = new QCheckBox(tr("Use the first alternative title to search for torrents"));