From 83968d8194e02d4baab8000c8d5ded3391d2bc67 Mon Sep 17 00:00:00 2001 From: M2j Date: Thu, 10 Jun 2010 10:07:58 +0200 Subject: [PATCH] fix: QStringList has no pop() methode --- openlp/core/ui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 271a05d23..87077820b 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -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()