From 5012f9e83a66ffab9bb4733da4caada815c190ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 10 Oct 2013 11:31:55 +0200 Subject: [PATCH] [oxygen] Drop redefining the default decoration buttons There is no difference between Oxygen and default KDecoration, so it's not needed. It's also conceptionally wrong: decorations should not be able to change the global default. --- clients/oxygen/oxygenclient.cpp | 8 -------- clients/oxygen/oxygenclient.h | 6 ------ 2 files changed, 14 deletions(-) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index 1199eef37b..550b8d31c4 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -1327,14 +1327,6 @@ namespace Oxygen } - //_________________________________________________________ - QString Client::defaultButtonsLeft() const - { return KCommonDecoration::defaultButtonsLeft(); } - - //_________________________________________________________ - QString Client::defaultButtonsRight() const - { return QStringLiteral("HIAX"); } - //________________________________________________________________ void Client::updateWindowShape() { diff --git a/clients/oxygen/oxygenclient.h b/clients/oxygen/oxygenclient.h index eadde296a7..3a153a7703 100644 --- a/clients/oxygen/oxygenclient.h +++ b/clients/oxygen/oxygenclient.h @@ -192,12 +192,6 @@ namespace Oxygen //@} - //! default buttons located on the left - virtual QString defaultButtonsLeft() const; - - //! default buttons located on the right - virtual QString defaultButtonsRight() const; - //! title alignment inline Qt::Alignment titleAlignment( void ) const;