File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
// INCLUDES
10
10
// ============================================================================
11
11
#include < DockComponentsFactory.h>
12
- #include < QScopedPointer>
12
+
13
+ #include < memory>
13
14
14
15
#include " DockWidgetTab.h"
15
16
#include " DockAreaTabBar.h"
19
20
20
21
namespace ads
21
22
{
22
- static QScopedPointer <CDockComponentsFactory> DefaultFactory (new CDockComponentsFactory());
23
+ static std::unique_ptr <CDockComponentsFactory> DefaultFactory (new CDockComponentsFactory());
23
24
24
25
25
26
// ============================================================================
@@ -46,7 +47,7 @@ CDockAreaTitleBar* CDockComponentsFactory::createDockAreaTitleBar(CDockAreaWidge
46
47
// ============================================================================
47
48
const CDockComponentsFactory* CDockComponentsFactory::factory ()
48
49
{
49
- return DefaultFactory.data ();
50
+ return DefaultFactory.get ();
50
51
}
51
52
52
53
You can’t perform that action at this time.
0 commit comments