mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Correct release of version 1.2.0
This commit is contained in:
parent
7e3ff6f126
commit
ecec41d647
2
src/lib/3rdparty/qtwin.cpp
vendored
2
src/lib/3rdparty/qtwin.cpp
vendored
@ -324,7 +324,7 @@ void QtWin::populateFrequentSites(IObjectCollection* collection, const QString &
|
||||
HistoryModel* historyModel = mApp->history();
|
||||
QList<HistoryEntry> mostList = historyModel->mostVisited(6);
|
||||
foreach(const HistoryEntry & entry, mostList)
|
||||
collection->AddObject(CreateShellLink(entry.title, entry.url.toString(), appPath, " " + entry.url.toEncoded(), appPath, 1));
|
||||
collection->AddObject(CreateShellLink(entry.title, entry.url.toString(), appPath, QString(" " + entry.url.toEncoded()), appPath, 1));
|
||||
|
||||
collection->AddObject(CreateShellLink("", "", "", "", "", 0)); //Spacer
|
||||
}
|
||||
|
@ -876,6 +876,10 @@ bool MainApplication::checkSettingsDir()
|
||||
QFile(PROFILEDIR + "profiles/default/browsedata.db").remove();
|
||||
QFile(":data/browsedata.db").copy(PROFILEDIR + "profiles/default/browsedata.db");
|
||||
QFile(PROFILEDIR + "profiles/default/browsedata.db").setPermissions(QFile::ReadUser | QFile::WriteUser);
|
||||
QFile versionFile(PROFILEDIR + "profiles/default/version");
|
||||
versionFile.open(QFile::WriteOnly);
|
||||
versionFile.write(QupZilla::VERSION.toUtf8());
|
||||
versionFile.close();
|
||||
|
||||
return dir.isReadable();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user