bugfix: Correct order of recent files on splash screen

master
Marius Kintel 2014-11-08 23:00:56 -05:00
parent 31b90d1acb
commit e518cb9089
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ LaunchingScreen::LaunchingScreen(QWidget *parent) : QDialog(parent)
QListWidgetItem *item = new QListWidgetItem(fileInfo.fileName());
item->setData(Qt::ToolTipRole, fileInfo.canonicalPath());
item->setData(Qt::UserRole, fileInfo.canonicalFilePath());
this->recentList->insertItem(1, item);
this->recentList->addItem(item);
}
foreach(const QString &category, UIUtils::exampleCategories())