/*
SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>

SPDX-License-Identifier: GPL-3.0-or-later
*/

#include "listview.h"

ListView::ListView(QWidget *parent)
    : QListView(parent)
{
}

void ListView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
{
    Q_UNUSED(previous)
    Q_EMIT itemActivated(current);
}

#include "moc_listview.cpp"
