Mercurial > minori
comparison src/gui/dialog/settings/services.cpp @ 11:fc1bf97c528b
*: use C++11 standard
I've been meaning to do this for a while, but I didn't want to reimplement
the filesystem code. Now we are on C++11 and most compilers from the past 5 centuries should support this now
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 17 Sep 2023 06:14:30 -0400 |
parents | 4b198a111713 |
children | cde8f67a7c7d |
comparison
equal
deleted
inserted
replaced
10:4b198a111713 | 11:fc1bf97c528b |
---|---|
21 connect(sync_combo_box, QOverload<int>::of(&QComboBox::currentIndexChanged), this, | 21 connect(sync_combo_box, QOverload<int>::of(&QComboBox::currentIndexChanged), this, |
22 [this](int index) { service = static_cast<Anime::Services>(index + 1); }); | 22 [this](int index) { service = static_cast<Anime::Services>(index + 1); }); |
23 sync_combo_box->setCurrentIndex(static_cast<int>(service) - 1); | 23 sync_combo_box->setCurrentIndex(static_cast<int>(service) - 1); |
24 | 24 |
25 QLabel* sync_note_label = | 25 QLabel* sync_note_label = |
26 new QLabel(tr("Note: Weeaboo is unable to synchronize multiple services at the same time."), sync_group_box); | 26 new QLabel(tr("Note: Minori is unable to synchronize multiple services at the same time."), sync_group_box); |
27 | 27 |
28 QVBoxLayout* sync_layout = new QVBoxLayout; | 28 QVBoxLayout* sync_layout = new QVBoxLayout; |
29 sync_layout->addWidget(sync_combo_box_label); | 29 sync_layout->addWidget(sync_combo_box_label); |
30 sync_layout->addWidget(sync_combo_box); | 30 sync_layout->addWidget(sync_combo_box); |
31 sync_layout->addWidget(sync_note_label); | 31 sync_layout->addWidget(sync_note_label); |