+#else
+ QCheckBox * dontShowAgainCB = new QCheckBox();
+ dontShowAgainCB->setText(qt_("&Do not show this warning again!"));
+ dontShowAgainCB->setToolTip(qt_("If you check this, LyX will not warn you again in the given case."));
+ QMessageBox box(QMessageBox::Warning, title, formatted,
+ QMessageBox::Ok, qApp->focusWidget());
+ box.setCheckBox(dontShowAgainCB);
+ if (box.exec() == QMessageBox::Ok)
+ if (dontShowAgainCB->isChecked())
+ settings.setValue("hidden_warnings/"
+ + msg, true);
+#endif