Skip to content

Commit

Permalink
Fixed activity subcategory loading in activity dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Mar 19, 2024
1 parent 36dc012 commit a33fdd7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/activitydlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ ActivityDlg::ActivityDlg(QList<PsiAccount *> list) : QDialog(nullptr), pa_(list)
setWindowIcon(IconsetFactory::icon("activities/other").icon());
setModal(false);

connect(ui_.cb_general_type, SIGNAL(currentIndexChanged(const QString &)),
SLOT(loadSpecificActivities(const QString &)));
connect(ui_.pb_cancel, SIGNAL(clicked()), SLOT(close()));
connect(ui_.pb_ok, SIGNAL(clicked()), SLOT(setActivity()));
connect(ui_.cb_general_type, &QComboBox::currentTextChanged, this, &ActivityDlg::loadSpecificActivities);
connect(ui_.pb_cancel, &QPushButton::clicked, this, &ActivityDlg::close);
connect(ui_.pb_ok, &QPushButton::clicked, this, &ActivityDlg::setActivity);

ui_.cb_general_type->addItem(tr("<unset>"));
PsiAccount *pa = pa_.first();
Expand Down

0 comments on commit a33fdd7

Please sign in to comment.