Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5621 → Rev 5622

/branches/Version13x/Scribus/scribus/mpalette.cpp
883,6 → 883,9
void Mpalette::setMainWindow(ScribusMainWindow* mw)
{
m_MainWindow=mw;
QPoint p1 = mapToGlobal(pos());
QPoint p2 = m_MainWindow->mapFromGlobal(p1);
reparent(m_MainWindow, this->getWFlags(), p2);
connect(this, SIGNAL(DocChanged()), m_MainWindow, SLOT(slotDocCh()));
connect(this, SIGNAL(NewAbStyle(int)), m_MainWindow, SLOT(setNewAbStyle(int)));