Changeset View
Changeset View
Standalone View
Standalone View
kcms/baloo/folderselectionwidget.cpp
Context not available. | |||||
50 | layout->addWidget(m_listWidget); | 50 | layout->addWidget(m_listWidget); | ||
---|---|---|---|---|---|
51 | 51 | | |||
52 | QHBoxLayout* hLayout = new QHBoxLayout; | 52 | QHBoxLayout* hLayout = new QHBoxLayout; | ||
53 | QSpacerItem* spacer = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum); | | |||
54 | hLayout->addItem(spacer); | | |||
55 | 53 | | |||
56 | m_addButton = new QPushButton(this); | 54 | m_addButton = new QPushButton(this); | ||
57 | m_addButton->setIcon(QIcon::fromTheme(QStringLiteral("list-add"))); | 55 | m_addButton->setIcon(QIcon::fromTheme(QStringLiteral("list-add"))); | ||
Context not available. | |||||
66 | 64 | | |||
67 | hLayout->addWidget(m_addButton); | 65 | hLayout->addWidget(m_addButton); | ||
68 | hLayout->addWidget(m_removeButton); | 66 | hLayout->addWidget(m_removeButton); | ||
67 | | ||||
68 | QSpacerItem* spacer = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum); | ||||
69 | hLayout->addItem(spacer); | ||||
70 | | ||||
69 | layout->addItem(hLayout); | 71 | layout->addItem(hLayout); | ||
70 | } | 72 | } | ||
71 | 73 | | |||
Context not available. |