qt, refactor: Fix code styling of moved InitExecutor class

This commit is contained in:
Hennadii Stepanov
2021-07-14 12:21:54 +03:00
parent c82165a557
commit 8169fc4e73
2 changed files with 8 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ QT_END_NAMESPACE
/** Class encapsulating Bitcoin Core startup and shutdown.
* Allows running startup and shutdown in a different thread from the UI thread.
*/
class InitExecutor: public QObject
class InitExecutor : public QObject
{
Q_OBJECT
public:
@@ -33,11 +33,11 @@ public Q_SLOTS:
Q_SIGNALS:
void initializeResult(bool success, interfaces::BlockAndHeaderTipInfo tip_info);
void shutdownResult();
void runawayException(const QString &message);
void runawayException(const QString& message);
private:
/// Pass fatal exception message to UI thread
void handleRunawayException(const std::exception *e);
void handleRunawayException(const std::exception* e);
interfaces::Node& m_node;
QThread m_thread;