mirror of
https://github.com/overte-org/overte.git
synced 2025-08-14 21:51:50 +02:00
Remove unnecessary lines of code.
This commit is contained in:
parent
1368c72725
commit
1b186c3b92
1 changed files with 0 additions and 4 deletions
|
@ -146,11 +146,7 @@ void ModelsBrowser::browse() {
|
|||
QGridLayout* layout = new QGridLayout(&dialog);
|
||||
dialog.setLayout(layout);
|
||||
|
||||
/*if (!_searchBar) {
|
||||
_searchBar = new QLineEdit(&dialog);
|
||||
}*/
|
||||
layout->addWidget(_searchBar, 0, 0);
|
||||
|
||||
layout->addWidget(&_view, 1, 0);
|
||||
dialog.connect(&_view, SIGNAL(doubleClicked(const QModelIndex&)), SLOT(accept()));
|
||||
connect(_searchBar, SIGNAL(textChanged(const QString&)), SLOT(applyFilter(const QString&)));
|
||||
|
|
Loading…
Reference in a new issue