mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Formatting, typos
This commit is contained in:
committed by
Mathew Sutcliffe
parent
9eb67edddf
commit
ec297d5838
@@ -121,6 +121,7 @@ namespace BlackCore
|
||||
bool isAlreadyRunning() const;
|
||||
|
||||
//! Is application shutting down?
|
||||
//! \threadsafe
|
||||
bool isShuttingDown() const;
|
||||
|
||||
//! Application name and version
|
||||
|
||||
@@ -158,7 +158,7 @@ namespace BlackCore
|
||||
if (url.isLocalFile())
|
||||
{
|
||||
this->m_localSetupFileValue = url.toLocalFile();
|
||||
QFile f(this->m_localSetupFileValue);
|
||||
const QFile f(this->m_localSetupFileValue);
|
||||
if (!f.exists())
|
||||
{
|
||||
sApp->cmdLineErrorMessage(QString("File '%1' does not exist)").arg(this->m_localSetupFileValue));
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CDbCountryComponent; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
@@ -44,7 +43,7 @@ namespace BlackGui
|
||||
explicit CDbCountryComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CDbCountryComponent();
|
||||
virtual ~CDbCountryComponent();
|
||||
|
||||
private slots:
|
||||
//! Countries have been read
|
||||
|
||||
@@ -29,7 +29,7 @@ class QTimerEvent;
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
/**
|
||||
/*!
|
||||
* The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
|
||||
* Progress indicators are indeterminate and do nothing more than spin to show that the application is busy.
|
||||
* \note based on https://github.com/mojocorp/QProgressIndicator under MIT license
|
||||
@@ -121,8 +121,8 @@ namespace BlackGui
|
||||
QColor m_color = Qt::blue;
|
||||
};
|
||||
|
||||
/**
|
||||
* Enable widgte class for load indicator
|
||||
/*!
|
||||
* Enable widget class for load indicator
|
||||
*/
|
||||
class BLACKGUI_EXPORT CLoadIndicatorEnabled
|
||||
{
|
||||
@@ -148,7 +148,7 @@ namespace BlackGui
|
||||
|
||||
//! Indicator timed out
|
||||
//! \remark override for usage
|
||||
void virtual indicatorTimedOut();
|
||||
virtual void indicatorTimedOut();
|
||||
|
||||
QWidget *m_usingWidget = nullptr; //!< widget which uses load indicator
|
||||
CLoadIndicator *m_loadIndicator = nullptr; //!< indicator itself
|
||||
|
||||
Reference in New Issue
Block a user