Switch to unified view

a/src/qtgui/uiprefs_w.cpp b/src/qtgui/uiprefs_w.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: uiprefs_w.cpp,v 1.22 2007-09-08 17:25:49 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: uiprefs_w.cpp,v 1.23 2007-12-04 10:16:52 dockes Exp $ (C) 2005 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
300
300
301
void UIPrefsDialog::showViewAction()
301
void UIPrefsDialog::showViewAction()
302
{
302
{
303
    if (m_viewAction== 0) {
303
    if (m_viewAction== 0) {
304
    m_viewAction = new ViewAction(0);
304
    m_viewAction = new ViewAction(0);
305
  m_viewAction->show();
306
    } else {
305
    } else {
307
    // Close and reopen, in hope that makes us visible...
306
    // Close and reopen, in hope that makes us visible...
308
    m_viewAction->close();
307
    m_viewAction->close();
308
    }
309
  m_viewAction->show();
309
    m_viewAction->show();
310
    }
311
}
310
}
312
311
313
////////////////////////////////////////////
312
////////////////////////////////////////////
314
// External / extra search indexes setup
313
// External / extra search indexes setup
315
// TBD: a way to remove entry from 'all' list (del button?)
314
// TBD: a way to remove entry from 'all' list (del button?)