forked from openlp/openlp
fix: QStringList has no pop() methode
This commit is contained in:
parent
f51d67cd51
commit
83968d8194
@ -851,5 +851,5 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
|||||||
if filename and filename not in self.recentFiles:
|
if filename and filename not in self.recentFiles:
|
||||||
self.recentFiles.insert(0, QtCore.QString(filename))
|
self.recentFiles.insert(0, QtCore.QString(filename))
|
||||||
while self.recentFiles.count() > recentFileCount:
|
while self.recentFiles.count() > recentFileCount:
|
||||||
self.recentFiles.pop()
|
self.recentFiles.removeLast()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user