fix: QStringList has no pop() methode

This commit is contained in:
M2j 2010-06-10 10:07:58 +02:00
parent f51d67cd51
commit 83968d8194
1 changed files with 1 additions and 1 deletions

View File

@ -851,5 +851,5 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
if filename and filename not in self.recentFiles:
self.recentFiles.insert(0, QtCore.QString(filename))
while self.recentFiles.count() > recentFileCount:
self.recentFiles.pop()
self.recentFiles.removeLast()