kwin/kcmkwin/kwindecoration/declarative-plugin
Vlad Zagorodniy d0865f2163 Fix -Wredundant-move
Summary:
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp: In member function ‘virtual std::unique_ptr<KDecoration2::DecoratedClientPrivate> KDecoration2::Preview::PreviewBridge::createClient(KDecoration2::DecoratedClient*, KDecoration2::Decoration*)’:
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:63:21: warning: redundant move in return statement [-Wredundant-move]
       63 |     return std::move(ptr);
          |            ~~~~~~~~~^~~~~
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:63:21: note: remove ‘std::move’ call
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp: In member function ‘virtual std::unique_ptr<KDecoration2::DecorationSettingsPrivate> KDecoration2::Preview::PreviewBridge::settings(KDecoration2::DecorationSettings*)’:
    /home/vlad/Workspace/KDE/src/kde/workspace/kwin/kcmkwin/kwindecoration/declarative-plugin/previewbridge.cpp:81:21: warning: redundant move in return statement [-Wredundant-move]
       81 |     return std::move(ptr);
          |            ~~~~~~~~~^~~~~

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D22357
2019-07-10 00:31:28 +03:00
..
buttonsmodel.cpp Update URLs to use https 2019-03-25 19:26:23 +01:00
buttonsmodel.h [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
CMakeLists.txt [decorations] Introduce logging category for decorations 2015-07-31 13:13:46 +02:00
plugin.cpp Port away from deprecated headers 2019-07-09 23:59:07 +03:00
plugin.h
previewbridge.cpp Fix -Wredundant-move 2019-07-10 00:31:28 +03:00
previewbridge.h [kcmkwin/deco] Delay deleting of PreviewBridge 2015-10-20 14:33:15 +02:00
previewbutton.cpp [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewbutton.h [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewclient.cpp [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewclient.h KWin: tooltips 2018-01-18 19:59:17 +01:00
previewitem.cpp [kcmkwin/kwindecoration] Rewrite the KWin decorations settings as a ConfigModule 2019-02-10 13:01:04 +01:00
previewitem.h [kdecoration2] Decoration::shadow returns QSharedPointer 2014-12-01 09:40:24 +01:00
previewsettings.cpp Restore global menu support 2017-01-11 10:21:03 +01:00
previewsettings.h [kcmkwin/deco] Bring back a decoration buttons configuration interface 2014-12-09 16:07:27 +01:00
qmldir