diff options
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | mainwin.cc | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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 ============= @@ -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) { |