1
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:
nowrep 2012-04-05 14:26:44 +02:00
parent 7e3ff6f126
commit ecec41d647
2 changed files with 5 additions and 1 deletions

View File

@ -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
}

View File

@ -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();
}