mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Fixed building on Windows
This commit is contained in:
parent
138ffdfe93
commit
ae18e4c221
4
src/lib/3rdparty/qtwin.cpp
vendored
4
src/lib/3rdparty/qtwin.cpp
vendored
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user