summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/RegionLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/QtBiomeVisualiser/RegionLoader.h')
-rw-r--r--Tools/QtBiomeVisualiser/RegionLoader.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/Tools/QtBiomeVisualiser/RegionLoader.h b/Tools/QtBiomeVisualiser/RegionLoader.h
index 6bbb4aa60..935fbdcd9 100644
--- a/Tools/QtBiomeVisualiser/RegionLoader.h
+++ b/Tools/QtBiomeVisualiser/RegionLoader.h
@@ -18,26 +18,25 @@ typedef std::shared_ptr<ChunkSource> ChunkSourcePtr;
-class RegionLoader :
- public QObject,
- public QRunnable
+class RegionLoader : public QObject,
+ public QRunnable
{
Q_OBJECT
-public:
+ public:
RegionLoader(int a_RegionX, int a_RegionZ, RegionPtr a_Region, ChunkSourcePtr a_ChunkSource);
virtual ~RegionLoader() {}
/** Signals to all loaders that the app is shutting down and the loading should be aborted. */
static void shutdown() { m_IsShuttingDown = true; }
-signals:
+ signals:
void loaded(int a_RegionX, int a_RegionZ);
-protected:
+ protected:
virtual void run() override;
-private:
+ private:
/** Coords of the region to be loaded. */
int m_RegionX, m_RegionZ;
@@ -50,7 +49,3 @@ private:
/** Flag that is set upon app exit to terminate the queued loaders faster. */
static volatile bool m_IsShuttingDown;
};
-
-
-
-