diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-16 08:41:35 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-16 08:41:35 (GMT) |
commit | 19a22fbfc42b06487ed2a0d204b85ec1760f11b6 (patch) | |
tree | 8fda982d0164fe94b3388cc6bae833919687a38a /mainwin.cc | |
parent | a3ac483b6a3cef98950ce61c283642147604206b (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
Diffstat (limited to 'mainwin.cc')
-rw-r--r-- | mainwin.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |