|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.31 2007-06-20 13:15:58 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.32 2007-07-13 06:31:30 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
|
|
... |
|
... |
416 |
// If a preview (toplevel) window gets closed by the user, we need to
|
416 |
// If a preview (toplevel) window gets closed by the user, we need to
|
417 |
// clean up because there is no way to reopen it. And check the case
|
417 |
// clean up because there is no way to reopen it. And check the case
|
418 |
// where the current one is closed
|
418 |
// where the current one is closed
|
419 |
void RclMain::previewClosed(QWidget *w)
|
419 |
void RclMain::previewClosed(QWidget *w)
|
420 |
{
|
420 |
{
|
|
|
421 |
LOGDEB(("RclMain::previewClosed(%p)\n", w));
|
421 |
if (w == (QWidget *)curPreview) {
|
422 |
if (w == (QWidget *)curPreview) {
|
422 |
LOGDEB(("Active preview closed\n"));
|
423 |
LOGDEB(("Active preview closed\n"));
|
423 |
curPreview = 0;
|
424 |
curPreview = 0;
|
424 |
} else {
|
425 |
} else {
|
425 |
LOGDEB(("Old preview closed\n"));
|
426 |
LOGDEB(("Old preview closed\n"));
|