Remove "using namespace Layouting" out of the layouting lib
Fixes windows build due to ambiguous symbols
This commit is contained in:
@@ -47,7 +47,6 @@
|
||||
*/
|
||||
|
||||
using namespace KDDockWidgets;
|
||||
using namespace Layouting;
|
||||
|
||||
class DockWidgetBase::Private
|
||||
{
|
||||
@@ -477,7 +476,7 @@ FloatingWindow *DockWidgetBase::floatingWindow() const
|
||||
return qobject_cast<FloatingWindow*>(window());
|
||||
}
|
||||
|
||||
void DockWidgetBase::addPlaceholderItem(Item *item)
|
||||
void DockWidgetBase::addPlaceholderItem(Layouting::Item *item)
|
||||
{
|
||||
qCDebug(placeholder) << Q_FUNC_INFO << this << item;
|
||||
Q_ASSERT(item);
|
||||
@@ -603,7 +602,7 @@ void DockWidgetBase::Private::restoreToPreviousPosition()
|
||||
void DockWidgetBase::Private::maybeRestoreToPreviousPosition()
|
||||
{
|
||||
// This is called when we get a QEvent::Show. Let's see if we have to restore it to a previous position.
|
||||
Item *layoutItem = m_lastPosition.layoutItem();
|
||||
Layouting::Item *layoutItem = m_lastPosition.layoutItem();
|
||||
qCDebug(placeholder) << Q_FUNC_INFO << layoutItem << m_lastPosition.m_wasFloating;
|
||||
if (!layoutItem)
|
||||
return; // nothing to do, no last position
|
||||
|
||||
Reference in New Issue
Block a user