浏览代码

UI: Add pragma once to ScreenshotObj header

Makes sure header is only included once preventing code clashes.
cg2121 1 年之前
父节点
当前提交
0306effc5f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      UI/screenshot-obj.hpp

+ 2 - 0
UI/screenshot-obj.hpp

@@ -15,6 +15,8 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/
 ******************************************************************************/
 
 
+#pragma once
+
 #include <QObject>
 #include <QObject>
 #include <string>
 #include <string>
 #include <thread>
 #include <thread>