Don't really need the QObject:: here
This commit is contained in:
parent
e3c5f3398c
commit
9f38f14fbf
@ -176,8 +176,7 @@ void PlaylistTabBar::Close() {
|
|||||||
"Are you sure you want to continue?"));
|
"Are you sure you want to continue?"));
|
||||||
confirmation_box.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);
|
confirmation_box.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);
|
||||||
|
|
||||||
QCheckBox dont_prompt_again(QObject::tr("Warn me when closing a playlist tab"),
|
QCheckBox dont_prompt_again(tr("Warn me when closing a playlist tab"), &confirmation_box);
|
||||||
&confirmation_box);
|
|
||||||
dont_prompt_again.setChecked(ask_for_delete);
|
dont_prompt_again.setChecked(ask_for_delete);
|
||||||
dont_prompt_again.blockSignals(true);
|
dont_prompt_again.blockSignals(true);
|
||||||
dont_prompt_again.setToolTip(
|
dont_prompt_again.setToolTip(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user