]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabpage.cpp
GIT_SILENT made messages (after extraction)
[dolphin.git] / src / dolphintabpage.cpp
index 9fde4071a383388d14ae4799a79bb268c2657e9e..f6d288e7d1b3de4ba161c6fe170cf92bcb2ddc1e 100644 (file)
 #include "dolphin_generalsettings.h"
 #include "dolphinviewcontainer.h"
 
-#include <QVariantAnimation>
 #include <QGridLayout>
-#include <QWidgetAction>
 #include <QStyle>
+#include <QVariantAnimation>
 
 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;
                 }
             }