#include "frontends/Application.h"
#include "qt_helpers.h"
-#include "support/debug.h"
#include "LyX.h" // for lyx::use_gui
#include "ui_AskForTextUi.h"
#include "support/gettext.h"
+#include "support/debug.h"
#include "support/docstring.h"
#include "support/lstrings.h"
int default_button, int cancel_button,
docstring const & b1, docstring const & b2, docstring const & b3)
{
- lyxerr << "PROMPT" << title0 << "FOCUS: " << qApp->focusWidget() << endl;
+ //lyxerr << "PROMPT" << title0 << "FOCUS: " << qApp->focusWidget() << endl;
if (!use_gui || lyxerr.debugging()) {
lyxerr << title0 << '\n'
<< "----------------------------------------\n"
qApp->changeOverrideCursor(Qt::ArrowCursor);
// FIXME replace that with guiApp->currentView()
- LYXERR0("FOCUS: " << qApp->focusWidget());
+ //LYXERR0("FOCUS: " << qApp->focusWidget());
int res = QMessageBox::information(qApp->focusWidget(),
toqstr(title),
toqstr(formatted(question)),