From f8d68d3956287c02fbe5f731b129e76d0b4fd610 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 1 May 2010 13:40:21 +0000 Subject: [PATCH] Always show icons in the menus, even on gnome in lucid --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 505845215..dec10fd23 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -104,6 +104,10 @@ int main(int argc, char *argv[]) { QtSingleApplication a(argc, argv); a.setQuitOnLastWindowClosed(false); + // Gnome on Ubuntu has menu icons disabled by default. I think that's a bad + // idea, and makes some menus in Clementine look confusing. + QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false); + // Resources Q_INIT_RESOURCE(data); Q_INIT_RESOURCE(translations);