1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-09 00:58:15 +03:00

drop no needed RootMouseArea

This commit is contained in:
Michail Vourlakos 2021-01-05 21:24:58 +02:00
parent 52f09917fd
commit 72d6383401
2 changed files with 0 additions and 35 deletions

View File

@ -1,25 +0,0 @@
/*
* Copyright 2018 Michail Vourlakos <mvourlakos@gmail.com>
*
* This file is part of Latte-Dock
*
* Latte-Dock is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* Latte-Dock is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.7
MouseArea{
anchors.fill: parent
hoverEnabled: true
}

View File

@ -946,10 +946,6 @@ Item {
return false;
}
function mouseInHoverableArea() {
return (latteView.visibility.containsMouse && !rootMouseArea.containsMouse && mouseInCanBeHoveredApplet());
}
function hideTooltipLabel(debug){
titleTooltipDialog.hide(debug);
}
@ -1199,12 +1195,6 @@ Item {
///////////////BEGIN UI elements
//it is used to check if the mouse is outside the layoutsContainer borders,
//so in that case the onLeave event behavior should be trigerred
RootMouseArea{
id: rootMouseArea
}
Loader{
active: debug.windowEnabled
sourceComponent: Debugger.DebugWindow{}