main.h: Add pragma once, remove ifndef

This commit is contained in:
N00byKing 2018-03-26 21:27:10 +02:00 committed by N00byKing
parent 8c8da93693
commit 16b14aa7e3
1 changed files with 2 additions and 5 deletions

View File

@ -2,8 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#ifndef _CITRA_QT_MAIN_HXX_
#define _CITRA_QT_MAIN_HXX_
#pragma once
#include <memory>
#include <QMainWindow>
@ -153,7 +152,7 @@ private:
std::unique_ptr<Config> config;
// Whether emulation is currently running in Citra.
// Whether emulation is currently running in yuzu.
bool emulation_running = false;
std::unique_ptr<EmuThread> emu_thread;
@ -172,5 +171,3 @@ protected:
void dragEnterEvent(QDragEnterEvent* event) override;
void dragMoveEvent(QDragMoveEvent* event) override;
};
#endif // _CITRA_QT_MAIN_HXX_