mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
NOISSUE improve toolbars
This commit is contained in:
parent
1e5b595923
commit
bf38021937
15 changed files with 138 additions and 42 deletions
|
|
@ -37,10 +37,7 @@ WorldListPage::WorldListPage(BaseInstance *inst, std::shared_ptr<WorldList> worl
|
|||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
QWidget* spacer = new QWidget();
|
||||
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
// toolBar is a pointer to an existing toolbar
|
||||
ui->toolBar->insertWidget(ui->actionRefresh, spacer);
|
||||
ui->toolBar->insertSpacer(ui->actionRefresh);
|
||||
|
||||
QSortFilterProxyModel * proxy = new QSortFilterProxyModel(this);
|
||||
proxy->setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue