Commit cee6680c authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix EBN issues

parent 6db7a79a
......@@ -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)
......
......@@ -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.
......
......@@ -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
......
......@@ -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);
......
......@@ -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/>
......
......@@ -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);
......
......@@ -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?
......
......@@ -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
......
......@@ -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 {
......
......@@ -22,7 +22,6 @@
#include "skynodes/labelnode.h"
#include "rootnode.h"
#include "labelsitem.h"
#include "Options.h"
HorizonItem::HorizonItem(HorizonComponent * hComp, RootNode *rootNode)
......
......@@ -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
*/
......
......@@ -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);
......
......@@ -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
*/
......
......@@ -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();
......
......@@ -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 */
......
......@@ -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() ) {
......
......@@ -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\">" );
......
......@@ -129,7 +129,7 @@ QString SkyObjItem::getDesc() const
if(skd)
{
if(skd->downloadedData() != "")
if(!skd->downloadedData().isEmpty())
return skd->downloadedData();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment