r20411 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Sep 20 23:05:20 UTC 2015


Author: jghali
Date: Sun Sep 20 23:05:20 2015
New Revision: 20411

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20411
Log:
fix build error on Windows

Modified:
    trunk/Scribus/scribus/ui/resourcemanager.cpp

Modified: trunk/Scribus/scribus/ui/resourcemanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20411&path=/trunk/Scribus/scribus/ui/resourcemanager.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/resourcemanager.cpp	(original)
+++ trunk/Scribus/scribus/ui/resourcemanager.cpp	Sun Sep 20 23:05:20 2015
@@ -41,6 +41,11 @@
 #include "util_file.h"
 
 extern ScribusQApp* ScQApp;
+
+#ifdef _WIN32
+#include <windows.h>
+#define sleep(t) Sleep(t*1000)
+#endif
 
 ResourceManager::ResourceManager(QWidget* parent)
 {




More information about the scribus-commit mailing list