From eaa19309750ec2357ddf704ca9869b296af35cda Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 11 Nov 2013 21:44:33 +0100 Subject: [PATCH] use Helper::ScopedPointer instead of QScopedPointer for simplification. --- clients/oxygen/config/oxygendetectwidget.cpp | 1 - clients/oxygen/oxygensizegrip.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/oxygen/config/oxygendetectwidget.cpp b/clients/oxygen/config/oxygendetectwidget.cpp index 59cdb368ec..dc80a44da2 100644 --- a/clients/oxygen/config/oxygendetectwidget.cpp +++ b/clients/oxygen/config/oxygendetectwidget.cpp @@ -35,7 +35,6 @@ #include #include #include -#include #include #include diff --git a/clients/oxygen/oxygensizegrip.cpp b/clients/oxygen/oxygensizegrip.cpp index 558416d3af..6d7e984869 100644 --- a/clients/oxygen/oxygensizegrip.cpp +++ b/clients/oxygen/oxygensizegrip.cpp @@ -102,7 +102,7 @@ namespace Oxygen while( true ) { xcb_query_tree_cookie_t cookie = xcb_query_tree_unchecked( connection, current ); - QScopedPointer tree(xcb_query_tree_reply( connection, cookie, nullptr ) ); + Helper::ScopedPointer tree(xcb_query_tree_reply( connection, cookie, nullptr ) ); if (tree.isNull()) break; if (tree->parent && tree->parent != tree->root && tree->parent != current) current = tree->parent;