]> cloud.milkyroute.net Git - dolphin.git/commit
Fixed build-time deprecation warning about KStandardGuiItem::yes()
authorShivodit Gill <shivodit.gill@gmail.com>
Fri, 25 Nov 2022 10:58:07 +0000 (10:58 +0000)
committerFelix Ernst <felixernst@kde.org>
Fri, 25 Nov 2022 10:58:07 +0000 (10:58 +0000)
commit1c22a23d90ab404c6f8c5135b6bd8a5a54cd5916
tree187f04946a5f21260c8ad71f895a46a404580629
parenta7c63f7af7baa112d70811165ea2fcd8ead38682
Fixed build-time deprecation warning about KStandardGuiItem::yes()

While building dolphin, a warning comes up about KStandardGuiItem::yes()
being deprecated, and that another action verb should be using instead.
This commit fixes the warning by replacing KStandardGuiItem::yes() with
a KGuiItem constructor in the file src/views/dolphinview.cpp.

The icon for the "Rename and Hide" button has also been changed from a
check mark (dialog-ok) to an eye with a cross (view-hidden) to make the
button look more unique and grab the attention of the user.
src/views/dolphinview.cpp