X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/3b7c05b385dc56fbc0b9ffdd332f8d30e7624d0c..579eadeb6ddffb03e8043090a330c6dba0717299:/src/dolphintabpage.cpp diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp index 9fde4071a..f6d288e7d 100644 --- a/src/dolphintabpage.cpp +++ b/src/dolphintabpage.cpp @@ -10,10 +10,9 @@ #include "dolphin_generalsettings.h" #include "dolphinviewcontainer.h" -#include #include -#include #include +#include DolphinTabPage::DolphinTabPage(const QUrl &primaryUrl, const QUrl &secondaryUrl, QWidget* parent) : QWidget(parent), @@ -121,7 +120,7 @@ void DolphinTabPage::setSplitViewEnabled(bool enabled, Animated animated, const // If the primary view is active, we have to swap the pointers // because the secondary view will be the new primary view. - qSwap(m_primaryViewContainer, m_secondaryViewContainer); + std::swap(m_primaryViewContainer, m_secondaryViewContainer); m_primaryViewActive = false; } } else { @@ -133,7 +132,7 @@ void DolphinTabPage::setSplitViewEnabled(bool enabled, Animated animated, const // If the secondary view is active, we have to swap the pointers // because the secondary view will be the new primary view. - qSwap(m_primaryViewContainer, m_secondaryViewContainer); + std::swap(m_primaryViewContainer, m_secondaryViewContainer); m_primaryViewActive = true; } }