mirror of
https://github.com/KDE/konsole.git
synced 2026-05-01 03:04:17 -04:00
Move TerminalDisplay::HAVE_TRANSPARNCEY into its own dedicated class
TerminalDisplay.h is a big header. It is not good for several files to include that big header only in order to use one of its static member.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#include "SessionManager.h"
|
||||
#include "MainWindow.h"
|
||||
#include "Session.h"
|
||||
#include "TerminalDisplay.h"
|
||||
#include "WindowSystemInfo.h"
|
||||
#include "ViewManager.h"
|
||||
|
||||
using namespace Konsole;
|
||||
@@ -55,7 +55,7 @@ void Application::init()
|
||||
_backgroundInstance = 0;
|
||||
|
||||
// check for compositing functionality
|
||||
TerminalDisplay::HAVE_TRANSPARENCY = KWindowSystem::compositingActive();
|
||||
WindowSystemInfo::HAVE_TRANSPARENCY = KWindowSystem::compositingActive();
|
||||
|
||||
#if defined(Q_WS_MAC) && QT_VERSION >= 0x040600
|
||||
// this ensures that Ctrl and Meta are not swapped, so CTRL-C and friends
|
||||
|
||||
Reference in New Issue
Block a user