Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/dialogs/kis_dlg_preferences.cc
Show First 20 Lines • Show All 563 Lines • ▼ Show 20 Line(s) | 562 | new SliderAndSpinBoxSync(sliderMemoryLimit, | |||
---|---|---|---|---|---|
564 | getTotalRAM); | 564 | getTotalRAM); | ||
565 | 565 | | |||
566 | sync1->slotParentValueChanged(); | 566 | sync1->slotParentValueChanged(); | ||
567 | m_syncs << sync1; | 567 | m_syncs << sync1; | ||
568 | 568 | | |||
569 | SliderAndSpinBoxSync *sync2 = | 569 | SliderAndSpinBoxSync *sync2 = | ||
570 | new SliderAndSpinBoxSync(sliderPoolLimit, | 570 | new SliderAndSpinBoxSync(sliderPoolLimit, | ||
571 | intPoolLimit, | 571 | intPoolLimit, | ||
572 | std::bind(&QSpinBox::value, | 572 | std::bind(&KisIntParseSpinBox::value, | ||
573 | intMemoryLimit)); | 573 | intMemoryLimit)); | ||
574 | 574 | | |||
575 | 575 | | |||
576 | connect(intMemoryLimit, SIGNAL(valueChanged(int)), sync2, SLOT(slotParentValueChanged())); | 576 | connect(intMemoryLimit, SIGNAL(valueChanged(int)), sync2, SLOT(slotParentValueChanged())); | ||
577 | sync2->slotParentValueChanged(); | 577 | sync2->slotParentValueChanged(); | ||
578 | m_syncs << sync2; | 578 | m_syncs << sync2; | ||
579 | 579 | | |||
580 | SliderAndSpinBoxSync *sync3 = | 580 | SliderAndSpinBoxSync *sync3 = | ||
▲ Show 20 Lines • Show All 457 Lines • Show Last 20 Lines |