Changeset View
Changeset View
Standalone View
Standalone View
plugins/meson/settings/mesonadvancedsettings.cpp
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 57 | { | |||
---|---|---|---|---|---|
59 | m_ui->i_backend->clear(); | 59 | m_ui->i_backend->clear(); | ||
60 | m_ui->i_backend->addItems(m_backendList); | 60 | m_ui->i_backend->addItems(m_backendList); | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | void MesonAdvancedSettings::updated() | 63 | void MesonAdvancedSettings::updated() | ||
64 | { | 64 | { | ||
65 | emit configChanged(); | 65 | emit configChanged(); | ||
66 | } | 66 | } | ||
67 | | ||||
68 | /// Check if meson has changed since the last call | ||||
69 | bool MesonAdvancedSettings::hasMesonChanged() | ||||
70 | { | ||||
71 | if(m_mesonOldPath != Path(m_ui->i_mesonExe->url())) { | ||||
72 | m_mesonOldPath = Path(m_ui->i_mesonExe->url()); // Reset | ||||
73 | return true; | ||||
74 | } | ||||
75 | | ||||
76 | return false; | ||||
77 | } |