Provide isCloseOnDoubleClickOnMenu in DecorationSettingsImpl
Needs proper implementation taking from config value.
This commit is contained in:
parent
c1edbd584b
commit
796ac23672
2 changed files with 6 additions and 0 deletions
|
@ -63,6 +63,11 @@ bool SettingsImpl::isOnAllDesktopsAvailable() const
|
|||
return VirtualDesktopManager::self()->count() > 1;
|
||||
}
|
||||
|
||||
bool SettingsImpl::isCloseOnDoubleClickOnMenu() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static QHash<KDecoration2::DecorationButtonType, QChar> s_buttonNames;
|
||||
static void initButtons()
|
||||
{
|
||||
|
|
|
@ -39,6 +39,7 @@ public:
|
|||
virtual ~SettingsImpl();
|
||||
bool isAlphaChannelSupported() const override;
|
||||
bool isOnAllDesktopsAvailable() const override;
|
||||
bool isCloseOnDoubleClickOnMenu() const override;
|
||||
KDecoration2::BorderSize borderSize() const override {
|
||||
return m_borderSize;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue