mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
disable annoying debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23125 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e744d0e989
commit
38a1df7cd4
@ -105,7 +105,7 @@ int prompt(docstring const & title0, docstring const & question,
|
|||||||
int default_button, int cancel_button,
|
int default_button, int cancel_button,
|
||||||
docstring const & b1, docstring const & b2, docstring const & b3)
|
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()) {
|
if (!use_gui || lyxerr.debugging()) {
|
||||||
lyxerr << title0 << '\n'
|
lyxerr << title0 << '\n'
|
||||||
<< "----------------------------------------\n"
|
<< "----------------------------------------\n"
|
||||||
@ -129,7 +129,7 @@ int prompt(docstring const & title0, docstring const & question,
|
|||||||
qApp->changeOverrideCursor(Qt::ArrowCursor);
|
qApp->changeOverrideCursor(Qt::ArrowCursor);
|
||||||
|
|
||||||
// FIXME replace that with guiApp->currentView()
|
// FIXME replace that with guiApp->currentView()
|
||||||
LYXERR0("FOCUS: " << qApp->focusWidget());
|
//LYXERR0("FOCUS: " << qApp->focusWidget());
|
||||||
int res = QMessageBox::information(qApp->focusWidget(),
|
int res = QMessageBox::information(qApp->focusWidget(),
|
||||||
toqstr(title),
|
toqstr(title),
|
||||||
toqstr(formatted(question)),
|
toqstr(formatted(question)),
|
||||||
|
Loading…
Reference in New Issue
Block a user