paysages3d/src/editing/tools.cpp

19 lines
324 B
C++
Raw Normal View History

#include "tools.h"
#include <QEvent>
#include "basepreview.h"
DialogWithPreview::DialogWithPreview(QWidget* parent) : QDialog(parent)
{
}
bool DialogWithPreview::event(QEvent* event)
{
if (event->type() == QEvent::WindowActivate)
{
BasePreview::reviveAll();
}
return QDialog::event(event);
}