Explorar el Código

UI: Add pragma once to ScreenshotObj header

Makes sure header is only included once preventing code clashes.
cg2121 hace 1 año
padre
commit
0306effc5f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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/>.
 ******************************************************************************/
 
+#pragma once
+
 #include <QObject>
 #include <string>
 #include <thread>