Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/manager.cpp
Show First 20 Lines • Show All 2980 Lines • ▼ Show 20 Line(s) | 2958 | { | |||
---|---|---|---|---|---|
2981 | } | 2981 | } | ||
2982 | else if (KConfigDialog::showDialog("settings")) | 2982 | else if (KConfigDialog::showDialog("settings")) | ||
2983 | { | 2983 | { | ||
2984 | KConfigDialog * cDialog = KConfigDialog::exists("settings"); | 2984 | KConfigDialog * cDialog = KConfigDialog::exists("settings"); | ||
2985 | cDialog->setCurrentPage(ekosOptionsWidget); | 2985 | cDialog->setCurrentPage(ekosOptionsWidget); | ||
2986 | } | 2986 | } | ||
2987 | } | 2987 | } | ||
2988 | 2988 | | |||
2989 | void Manager::applyConfig() | ||||
2990 | { | ||||
2991 | if (schedulerProcess) | ||||
2992 | schedulerProcess->applyConfig(); | ||||
2993 | } | ||||
2994 | | ||||
2989 | void Manager::getCurrentProfileTelescopeInfo(double &primaryFocalLength, double &primaryAperture, double &guideFocalLength, double &guideAperture) | 2995 | void Manager::getCurrentProfileTelescopeInfo(double &primaryFocalLength, double &primaryAperture, double &guideFocalLength, double &guideAperture) | ||
2990 | { | 2996 | { | ||
2991 | ProfileInfo * pi = getCurrentProfile(); | 2997 | ProfileInfo * pi = getCurrentProfile(); | ||
2992 | if (pi) | 2998 | if (pi) | ||
2993 | { | 2999 | { | ||
2994 | int primaryScopeID = 0, guideScopeID = 0; | 3000 | int primaryScopeID = 0, guideScopeID = 0; | ||
2995 | primaryScopeID = pi->primaryscope; | 3001 | primaryScopeID = pi->primaryscope; | ||
2996 | guideScopeID = pi->guidescope; | 3002 | guideScopeID = pi->guidescope; | ||
▲ Show 20 Lines • Show All 306 Lines • Show Last 20 Lines |