summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2016-09-23 07:56:07 (GMT)
committerYuri Chornoivan <yurchor@ukr.net>2016-09-23 07:56:07 (GMT)
commitcee6680c40740b8a687563553a9200e49b538d73 (patch)
tree1a68148c32972dd981364442c181b6c49b3ab247
parent6db7a79a16fe2b57b1640b1f7a5b7b9e49176ecd (diff)
Fix EBN issues
-rw-r--r--android_lib/include/fitsio.h2
-rw-r--r--android_lib/include/libnova.h2
-rw-r--r--kstars/ekos/align.cpp4
-rw-r--r--kstars/ekos/capture.cpp2
-rw-r--r--kstars/ekos/focus.ui2
-rw-r--r--kstars/ekos/guide.cpp2
-rw-r--r--kstars/ekos/scheduler.cpp2
-rw-r--r--kstars/fitsviewer/fitsdata.cpp2
-rw-r--r--kstars/kstarslite/qml/modules/TopMenu.qml2
-rw-r--r--kstars/kstarslite/skyitems/horizonitem.cpp1
-rw-r--r--kstars/kstarslite/skyitems/skyitem.h2
-rw-r--r--kstars/kstarslite/skyitems/skynodes/dsosymbolnode.h2
-rw-r--r--kstars/kstarslite/skyitems/skynodes/skynode.h2
-rw-r--r--kstars/main.cpp2
-rw-r--r--kstars/skymaplite.h2
-rw-r--r--kstars/texturemanager.cpp2
-rw-r--r--kstars/tools/whatsinteresting/skyobjdescription.cpp2
-rw-r--r--kstars/tools/whatsinteresting/skyobjitem.cpp2
18 files changed, 18 insertions, 19 deletions
diff --git a/android_lib/include/fitsio.h b/android_lib/include/fitsio.h
index cdfe8d2..3c686b9 100644
--- a/android_lib/include/fitsio.h
+++ b/android_lib/include/fitsio.h
@@ -153,7 +153,7 @@ SERVICES PROVIDED HEREUNDER."
#define LONGLONG_MIN LONG_LONG_MIN
#elif defined(__LONG_LONG_MAX__)
-/* Mac OS X & CYGWIN defintion */
+/* Mac OS X & CYGWIN definition */
#define LONGLONG_MAX __LONG_LONG_MAX__
#define LONGLONG_MIN (-LONGLONG_MAX -1LL)
diff --git a/android_lib/include/libnova.h b/android_lib/include/libnova.h
index 1c048c1..cce5e92 100644
--- a/android_lib/include/libnova.h
+++ b/android_lib/include/libnova.h
@@ -70,7 +70,7 @@
*
* \section help Help
* If you are interested in helping in the future development of libnova, then please get in touch.
-* Currently, we are needing help in the folowing areas.
+* Currently, we are needing help in the following areas.
* - Documentation. (Not just API reference, but also astronomy info for novice users)
* - Programming (in C) astronomical solutions or algorithms.
* - Algorithms and Solutions.
diff --git a/kstars/ekos/align.cpp b/kstars/ekos/align.cpp
index 0dd69e3..81067a9 100644
--- a/kstars/ekos/align.cpp
+++ b/kstars/ekos/align.cpp
@@ -712,7 +712,7 @@ void Align::setCaptureComplete()
QString filename = currentData->getFilename();
- // Save frame after substraction
+ // Save frame after subtraction
if (alignDarkFrameCheck->isChecked())
currentImage->getImageData()->saveFITS(filename);
@@ -1582,7 +1582,7 @@ void Align::correctAzError()
currentCoord.setAlt(currentAlt);
currentCoord.setAz(currentAz);
- // Conver Alt/Az back to equatorial coordinates
+ // Convert Alt/Az back to equatorial coordinates
currentCoord.HorizontalToEquatorial(KStars::Instance()->data()->lst(), KStars::Instance()->data()->geo()->lat());
// Get new RA and DEC
diff --git a/kstars/ekos/capture.cpp b/kstars/ekos/capture.cpp
index 387c1e7..cf12615 100644
--- a/kstars/ekos/capture.cpp
+++ b/kstars/ekos/capture.cpp
@@ -912,7 +912,7 @@ void Capture::newFITS(IBLOB *bp)
return;
// If this is a preview job, make sure to enable preview button after
- // we recieve the FITS
+ // we receive the FITS
if (activeJob->isPreview() && previewB->isEnabled() == false)
previewB->setEnabled(true);
diff --git a/kstars/ekos/focus.ui b/kstars/ekos/focus.ui
index ab5bc10..b464cd3 100644
--- a/kstars/ekos/focus.ui
+++ b/kstars/ekos/focus.ui
@@ -708,7 +708,7 @@ Otherwise, the autofocus process will utilize whatever filter currently set by t
<item row="0" column="4">
<widget class="QLabel" name="label">
<property name="toolTip">
- <string>&lt;b&gt;Initial&lt;/b&gt; step size in ticks to cause a noticable change in HFR value. For timer based focuser, it is the initial time in milliseconds to move the focuser inward or outward</string>
+ <string>&lt;b&gt;Initial&lt;/b&gt; step size in ticks to cause a noticeable change in HFR value. For timer based focuser, it is the initial time in milliseconds to move the focuser inward or outward</string>
</property>
<property name="whatsThis">
<string/>
diff --git a/kstars/ekos/guide.cpp b/kstars/ekos/guide.cpp
index f8c42d5..4db9d04 100644
--- a/kstars/ekos/guide.cpp
+++ b/kstars/ekos/guide.cpp
@@ -534,7 +534,7 @@ void Guide::setCaptureComplete()
}
if (Options::guideLogging())
- qDebug() << "Guide: recieved guide frame.";
+ qDebug() << "Guide: received guide frame.";
FITSData *image_data = targetImage->getImageData();
Q_ASSERT(image_data);
diff --git a/kstars/ekos/scheduler.cpp b/kstars/ekos/scheduler.cpp
index 9e4af7d..9840835 100644
--- a/kstars/ekos/scheduler.cpp
+++ b/kstars/ekos/scheduler.cpp
@@ -2706,7 +2706,7 @@ void Scheduler::checkJobStage()
if(alignReply.value())
{
if (Options::verboseLogging())
- qDebug() << "Scheduler: Solver is complete, checking if successfull...";
+ qDebug() << "Scheduler: Solver is complete, checking if successful...";
alignReply = alignInterface->call(QDBus::AutoDetect,"isSolverSuccessful");
// Is solver successful?
diff --git a/kstars/fitsviewer/fitsdata.cpp b/kstars/fitsviewer/fitsdata.cpp
index dd860ec..948ff1d 100644
--- a/kstars/fitsviewer/fitsdata.cpp
+++ b/kstars/fitsviewer/fitsdata.cpp
@@ -680,7 +680,7 @@ int FITSData::findOneStar(const QRectF &boundary)
if (TF >= HF)
{
// We have two ways to calculate HFR. The first is the correct method but it can get quite variable within 10% due to random fluctuations of the measured star.
- // The second method is not truely HFR but is much more resistant to noise.
+ // The second method is not truly HFR but is much more resistant to noise.
// #1 Approximate HFR, accurate and reliable but quite variable to small changes in star flux
diff --git a/kstars/kstarslite/qml/modules/TopMenu.qml b/kstars/kstarslite/qml/modules/TopMenu.qml
index 9f5696d..dd3c57c 100644
--- a/kstars/kstarslite/qml/modules/TopMenu.qml
+++ b/kstars/kstarslite/qml/modules/TopMenu.qml
@@ -114,7 +114,7 @@ ColumnLayout {
for(var i = 0; i < children.length; ++i) {
childrenWidth += children[i].width + spacing
}
- childrenWidth += topBar.padding*2 //Acount for topBar padding to have enough space for all elements
+ childrenWidth += topBar.padding*2 //Account for topBar padding to have enough space for all elements
}
anchors {
diff --git a/kstars/kstarslite/skyitems/horizonitem.cpp b/kstars/kstarslite/skyitems/horizonitem.cpp
index c51b8ae..088d218 100644
--- a/kstars/kstarslite/skyitems/horizonitem.cpp
+++ b/kstars/kstarslite/skyitems/horizonitem.cpp
@@ -22,7 +22,6 @@
#include "skynodes/labelnode.h"
#include "rootnode.h"
-#include "labelsitem.h"
#include "Options.h"
HorizonItem::HorizonItem(HorizonComponent * hComp, RootNode *rootNode)
diff --git a/kstars/kstarslite/skyitems/skyitem.h b/kstars/kstarslite/skyitems/skyitem.h
index ae4051d..09312d9 100644
--- a/kstars/kstarslite/skyitems/skyitem.h
+++ b/kstars/kstarslite/skyitems/skyitem.h
@@ -55,7 +55,7 @@ public:
virtual ~SkyItem();
/**
- * @short updates the coordinates and visibility of child node. Similiar to draw routine in
+ * @short updates the coordinates and visibility of child node. Similar to draw routine in
* SkyComponent derived classes
*/
diff --git a/kstars/kstarslite/skyitems/skynodes/dsosymbolnode.h b/kstars/kstarslite/skyitems/skynodes/dsosymbolnode.h
index e854d98..0144bce 100644
--- a/kstars/kstarslite/skyitems/skynodes/dsosymbolnode.h
+++ b/kstars/kstarslite/skyitems/skynodes/dsosymbolnode.h
@@ -36,7 +36,7 @@ class SymbolNode : public QSGNode {
public:
/**
* @short Update size and the symbol itself. Each SymbolNode should override this function,
- * and call SymbolNode::updateSymbol() in the beginning of overriden updateSymbol to
+ * and call SymbolNode::updateSymbol() in the beginning of overridden updateSymbol to
* initialize values that are used across all symbols.
*/
virtual void updateSymbol(float x, float y, float e, float size);
diff --git a/kstars/kstarslite/skyitems/skynodes/skynode.h b/kstars/kstarslite/skyitems/skynodes/skynode.h
index 7a5ed17..457f43c 100644
--- a/kstars/kstarslite/skyitems/skynodes/skynode.h
+++ b/kstars/kstarslite/skyitems/skynodes/skynode.h
@@ -85,7 +85,7 @@ public:
inline int hideCount() { return m_hideCount; }
/**
- * @short changes the position of SkyNode on SkyMapLite. Has to be overriden by the classes
+ * @short changes the position of SkyNode on SkyMapLite. Has to be overridden by the classes
* that support moving
* @param pos new position
*/
diff --git a/kstars/main.cpp b/kstars/main.cpp
index cc66603..08b32b3 100644
--- a/kstars/main.cpp
+++ b/kstars/main.cpp
@@ -260,7 +260,7 @@ int main(int argc, char *argv[])
QObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()));
#else
//KStarsLite::createInstance( true, ! parser.isSet( "paused" ), datestring );
- //TODO decide wheter KStars Lite should have command line parser
+ //TODO decide whether KStars Lite should have command line parser
KStarsLite::createInstance( true );
#endif
return app.exec();
diff --git a/kstars/skymaplite.h b/kstars/skymaplite.h
index a93224f..05f6294 100644
--- a/kstars/skymaplite.h
+++ b/kstars/skymaplite.h
@@ -472,7 +472,7 @@ signals:
/** Emitted when a position is clicked */
void positionClicked(SkyPoint*);
- /** Emitted when user clicks on SkyMapLite (analagous to positionClicked but sends QPoint) */
+ /** Emitted when user clicks on SkyMapLite (analogous to positionClicked but sends QPoint) */
void posClicked(QPointF pos);
/** Emitted when magnitude limit is changed */
diff --git a/kstars/texturemanager.cpp b/kstars/texturemanager.cpp
index 5d6a94a..7580388 100644
--- a/kstars/texturemanager.cpp
+++ b/kstars/texturemanager.cpp
@@ -50,7 +50,7 @@ TextureManager *TextureManager::Create() {
const QImage& TextureManager::getImage(const QString& name)
{
Create();
- if(name == "")
+ if(name.isEmpty())
return emptyImage;
CacheIter it = findTexture( name );
if( it != m_p->m_textures.constEnd() ) {
diff --git a/kstars/tools/whatsinteresting/skyobjdescription.cpp b/kstars/tools/whatsinteresting/skyobjdescription.cpp
index 52a539a..2df1177 100644
--- a/kstars/tools/whatsinteresting/skyobjdescription.cpp
+++ b/kstars/tools/whatsinteresting/skyobjdescription.cpp
@@ -27,7 +27,7 @@ void SkyObjDescription::fileDownloaded(QNetworkReply* reply)
{
m_DownloadedData = reply->readAll();
- if(m_DownloadedData != ""){
+ if(!m_DownloadedData.isEmpty()){
QString data(m_DownloadedData);
const QString descOpeing( "<Description xml:space=\"preserve\">" );
diff --git a/kstars/tools/whatsinteresting/skyobjitem.cpp b/kstars/tools/whatsinteresting/skyobjitem.cpp
index 9848f1d..c99b2f5 100644
--- a/kstars/tools/whatsinteresting/skyobjitem.cpp
+++ b/kstars/tools/whatsinteresting/skyobjitem.cpp
@@ -129,7 +129,7 @@ QString SkyObjItem::getDesc() const
if(skd)
{
- if(skd->downloadedData() != "")
+ if(!skd->downloadedData().isEmpty())
return skd->downloadedData();
}