1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Fixed building on Windows

This commit is contained in:
Mikino89 2012-07-04 11:16:38 +02:00
parent 138ffdfe93
commit ae18e4c221

View File

@ -321,8 +321,8 @@ IShellLink* QtWin::CreateShellLink(const QString &title, const QString &descript
void QtWin::populateFrequentSites(IObjectCollection* collection, const QString &appPath)
{
HistoryModel* historyModel = mApp->history();
QList<HistoryEntry> mostList = historyModel->mostVisited(6);
History* history = mApp->history();
QList<HistoryEntry> mostList = history->mostVisited(6);
foreach(const HistoryEntry & entry, mostList)
collection->AddObject(CreateShellLink(entry.title, entry.url.toString(), appPath, QString(" " + entry.url.toEncoded()), appPath, 1));