Warning, /plasma/latte-dock/plasmoid/package/contents/ui/previews/PlasmaCoreThumbnail.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 import QtQuick 2.6
0008 import org.kde.plasma.core 2.0 as PlasmaCore
0009 
0010 PlasmaCore.WindowThumbnail {
0011     winId: thumbnailSourceItem.winId
0012 
0013     onWinIdChanged: {
0014         //! WORKAROUND, in order for toolTipDelegate to re-instantiate the previews model when
0015         //! previews are changing from single instance preview to another single instance
0016         visible = false;
0017         visible = true;
0018     }
0019 }