From 6c62114529b4e9d78a132e0342df3a4eaa04eb2a Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Fri, 11 May 2012 03:26:24 +0800 Subject: [PATCH] Remove the long broken --force-transparency option That option is broken for a long time (at least since KDE 4.6.2), yet there is not a single bug report against it. That is a strong evince that option is seldom used. The ideal situation is whenever compositing is available, Konsole supports translucent background out of box without user guidance. --- doc/manual/index.docbook | 6 ------ src/MainWindow.cpp | 3 +-- src/main.cpp | 3 --- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/doc/manual/index.docbook b/doc/manual/index.docbook index 5663f5dc3..45cce1e47 100644 --- a/doc/manual/index.docbook +++ b/doc/manual/index.docbook @@ -872,12 +872,6 @@ title: This is the title;; command: run me - - -Try to enable transparency, even if the system does not appear to support it. - - - Do not close the initial session automatically when it ends. diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index e8f6ae218..74af0295b 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -61,8 +61,7 @@ using namespace Konsole; static bool useTransparency() { const KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); - const bool compositingAvailable = KWindowSystem::compositingActive() || - args->isSet("force-transparency"); + const bool compositingAvailable = KWindowSystem::compositingActive(); return compositingAvailable && args->isSet("transparency"); } diff --git a/src/main.cpp b/src/main.cpp index df2aaef23..ffd62b951 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -172,9 +172,6 @@ void fillCommandLineOptions(KCmdLineOptions& options) options.add("notransparency", ki18n("Disable transparent backgrounds, even if the system" " supports them.")); - options.add("force-transparency", - ki18n("Try to enable transparency, even if the system does" - " not appear to support it.")); options.add("list-profiles", ki18n("List the available profiles")); options.add("list-profile-properties", ki18n("List all the profile properties names and their type"