StelDialog.cpp   StelDialog.cpp 
skipping to change at line 96 skipping to change at line 96
{ {
if (v) if (v)
{ {
if (dialog) if (dialog)
{ {
dialog->show(); dialog->show();
StelMainGraphicsView::getInstance().scene()->setActi veWindow(proxy); StelMainGraphicsView::getInstance().scene()->setActi veWindow(proxy);
proxy->setFocus(); proxy->setFocus();
return; return;
} }
dialog = new QDialog(&StelMainGraphicsView::getInstance()); dialog = new QDialog(NULL);
connect(dialog, SIGNAL(rejected()), this, SLOT(close())); connect(dialog, SIGNAL(rejected()), this, SLOT(close()));
createDialogContent(); createDialogContent();
proxy = new CustomProxy(NULL, Qt::Tool); proxy = new CustomProxy(NULL, Qt::Tool);
proxy->setWidget(dialog); proxy->setWidget(dialog);
StelMainGraphicsView::getInstance().scene()->addItem(proxy); StelMainGraphicsView::getInstance().scene()->addItem(proxy);
proxy->setWindowFrameMargins(2,0,2,2); proxy->setWindowFrameMargins(2,0,2,2);
proxy->setCacheMode(QGraphicsItem::DeviceCoordinateCache); / / , QSize(proxy->boundingRect().width()/2, proxy->boundingRect().height()/2 ) proxy->setCacheMode(QGraphicsItem::DeviceCoordinateCache); / / , QSize(proxy->boundingRect().width()/2, proxy->boundingRect().height()/2 )
proxy->setZValue(100); proxy->setZValue(100);
StelMainGraphicsView::getInstance().scene()->setActiveWindow (proxy); StelMainGraphicsView::getInstance().scene()->setActiveWindow (proxy);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/