Changeset View
Changeset View
Standalone View
Standalone View
kstars/xplanet/opsxplanet.cpp
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 89 | if (Options::xplanetProjection() == 0) | |||
---|---|---|---|---|---|
90 | groupBoxBackground->setEnabled(false); | 90 | groupBoxBackground->setEnabled(false); | ||
91 | kcfg_XplanetBackgroundImage->setEnabled(Options::xplanetBackgroundImage()); | 91 | kcfg_XplanetBackgroundImage->setEnabled(Options::xplanetBackgroundImage()); | ||
92 | kcfg_XplanetBackgroundImagePath->setEnabled(Options::xplanetBackgroundImage()); | 92 | kcfg_XplanetBackgroundImagePath->setEnabled(Options::xplanetBackgroundImage()); | ||
93 | kcfg_XplanetBackgroundColor->setEnabled(Options::xplanetBackgroundImage()); | 93 | kcfg_XplanetBackgroundColor->setEnabled(Options::xplanetBackgroundImage()); | ||
94 | kcfg_XplanetBackgroundColorValue->setEnabled(Options::xplanetBackgroundImage()); | 94 | kcfg_XplanetBackgroundColorValue->setEnabled(Options::xplanetBackgroundImage()); | ||
95 | if (Options::xplanetProjection() == 0) | 95 | if (Options::xplanetProjection() == 0) | ||
96 | groupBoxBackground->setEnabled(false); | 96 | groupBoxBackground->setEnabled(false); | ||
97 | 97 | | |||
98 | #ifdef Q_OS_WIN | ||||
99 | kcfg_XplanetUseFIFO->setChecked(false); | ||||
100 | kcfg_XplanetUseFIFO->setDisabled(true); | ||||
101 | kcfg_XplanetUseFIFO->setToolTip(i18n("FIFO files are not supported on Windows")); | ||||
102 | #endif | ||||
103 | | ||||
104 | | ||||
98 | connect(openXPlanetMaps, SIGNAL(clicked()),this,SLOT(showXPlanetMapsDirectory())); | 105 | connect(openXPlanetMaps, SIGNAL(clicked()),this,SLOT(showXPlanetMapsDirectory())); | ||
99 | } | 106 | } | ||
100 | 107 | | |||
101 | void OpsXplanet::showXPlanetMapsDirectory() | 108 | void OpsXplanet::showXPlanetMapsDirectory() | ||
102 | { | 109 | { | ||
103 | 110 | | |||
104 | QString xplanetMapsDir; | 111 | QString xplanetMapsDir; | ||
105 | if (Options::xplanetIsInternal()) | 112 | if (Options::xplanetIsInternal()) | ||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |