summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-16 08:41:35 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-16 08:41:35 (GMT)
commit19a22fbfc42b06487ed2a0d204b85ec1760f11b6 (patch)
tree8fda982d0164fe94b3388cc6bae833919687a38a
parenta3ac483b6a3cef98950ce61c283642147604206b (diff)
James Vasile:
Patch for building with qt4.4 Added note about qmake to README git-svn-id: http://svn.clifford.at/openscad/trunk@177 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--README5
-rw-r--r--mainwin.cc2
2 files changed, 7 insertions, 0 deletions
diff --git a/README b/README
index 47ad2d4..396822f 100644
--- a/README
+++ b/README
@@ -62,6 +62,11 @@ may not work as well..
http://flex.sourceforge.net/
+BUILDING OPENSCAD
+================
+
+First, run qmake to generate a Makefile. Then run make.
+
DOCUMENTATION
=============
diff --git a/mainwin.cc b/mainwin.cc
index 9b342c9..0b84c07 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -648,7 +648,9 @@ void MainWindow::updateRecentFileActions()
int originalNumRecentFiles = files.size();
// Remove any duplicate or empty entries from the list
+#if (QT_VERSION >= QT_VERSION_CHECK(4, 5, 0))
files.removeDuplicates();
+#endif
files.removeAll(QString());
// Now remove any entries which do not exist
for(int i = files.size()-1; i >= 0; --i) {
contact: Jan Huwald // Impressum