aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/widgets/menusearch.cpp
blob: 2905d6de2436eca78f56bdefad60d5a357726827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * This file is part of smolbote. It's copyrighted by the contributors recorded
 * in the version control history of the file, available from its original
 * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote
 *
 * SPDX-License-Identifier: GPL-3.0
 */

#include "menusearch.h"

MenuSearch::MenuSearch(QWidget *parent)
    : QLineEdit(parent)
{
    setMinimumWidth(300);
    setPlaceholderText(tr("Find..."));
    setClearButtonEnabled(true);
}