From 7aeec8ef899e56e0b241720e87b6c319dfd7f65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 6 Dec 2013 11:21:07 +0100 Subject: [PATCH] [kwin] Drop dead code kwin_get_menu_pix_hack was no longer used anywhere. --- client.cpp | 9 --------- tabbox/tabbox.cpp | 2 -- 2 files changed, 11 deletions(-) diff --git a/client.cpp b/client.cpp index c2b246c2fa..004e1e3215 100644 --- a/client.cpp +++ b/client.cpp @@ -43,7 +43,6 @@ along with this program. If not, see . #endif #include "workspace.h" // KDE -#include #include #include // Qt @@ -2352,14 +2351,6 @@ void Client::debug(QDebug& stream) const print(stream); } -QPixmap* kwin_get_menu_pix_hack() -{ - static QPixmap p; - if (p.isNull()) - p = SmallIcon(QStringLiteral("bx2")); - return &p; -} - void Client::checkActivities() { #ifdef KWIN_BUILD_ACTIVITIES diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index f2f4213b32..c9e77e2261 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -63,8 +63,6 @@ along with this program. If not, see . namespace KWin { -extern QPixmap* kwin_get_menu_pix_hack(); - namespace TabBox {