Mercurial > minori
comparison src/gui/dialog/settings/application.cpp @ 62:4c6dd5999b39
*: update
1. updated animia
2. use widestrings for filesystem on Windows
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 06:16:06 -0400 |
parents | 2743011a6042 |
children | 2417121d894e |
comparison
equal
deleted
inserted
replaced
61:327568ad9be9 | 62:4c6dd5999b39 |
---|---|
20 dc_combo_box->addItem(tr("View anime info")); | 20 dc_combo_box->addItem(tr("View anime info")); |
21 | 21 |
22 QVBoxLayout* double_click_layout = new QVBoxLayout; | 22 QVBoxLayout* double_click_layout = new QVBoxLayout; |
23 double_click_layout->addWidget(dc_combo_box_label); | 23 double_click_layout->addWidget(dc_combo_box_label); |
24 double_click_layout->addWidget(dc_combo_box); | 24 double_click_layout->addWidget(dc_combo_box); |
25 double_click_layout->setMargin(0); | 25 double_click_layout->setContentsMargins(0, 0, 0, 0); |
26 double_click_widget->setLayout(double_click_layout); | 26 double_click_widget->setLayout(double_click_layout); |
27 | 27 |
28 /* Actions/Middle click */ | 28 /* Actions/Middle click */ |
29 QWidget* middle_click_widget = new QWidget(actions_group_box); | 29 QWidget* middle_click_widget = new QWidget(actions_group_box); |
30 QLabel* mc_combo_box_label = new QLabel(tr("Middle click:"), middle_click_widget); | 30 QLabel* mc_combo_box_label = new QLabel(tr("Middle click:"), middle_click_widget); |
32 mc_combo_box->addItem(tr("Play next episode")); | 32 mc_combo_box->addItem(tr("Play next episode")); |
33 | 33 |
34 QVBoxLayout* middle_click_layout = new QVBoxLayout; | 34 QVBoxLayout* middle_click_layout = new QVBoxLayout; |
35 middle_click_layout->addWidget(mc_combo_box_label); | 35 middle_click_layout->addWidget(mc_combo_box_label); |
36 middle_click_layout->addWidget(mc_combo_box); | 36 middle_click_layout->addWidget(mc_combo_box); |
37 middle_click_layout->setMargin(0); | 37 middle_click_layout->setContentsMargins(0, 0, 0, 0); |
38 middle_click_widget->setLayout(middle_click_layout); | 38 middle_click_widget->setLayout(middle_click_layout); |
39 | 39 |
40 /* Actions */ | 40 /* Actions */ |
41 QHBoxLayout* actions_layout = new QHBoxLayout; | 41 QHBoxLayout* actions_layout = new QHBoxLayout; |
42 actions_layout->addWidget(double_click_widget); | 42 actions_layout->addWidget(double_click_widget); |