some connections to make active follow slideObject

This commit is contained in:
Chris Cochrun 2023-01-22 07:31:07 -06:00
parent 3286935b8e
commit 8fad5cadb4
4 changed files with 10 additions and 5 deletions

View file

@ -147,6 +147,10 @@ int main(int argc, char *argv[])
SIGNAL(itemAdded(const int&, const ServiceItem&)),
slideModel.get(),
SLOT(addItemFromService(const int&, const ServiceItem&)));
QObject::connect(slideobject.get(),
SIGNAL(slideChanged(int)),
slideModel.get(),
SLOT(activate(int)));
bool loading = serviceItemModel.get()->loadLastSaved();