Open GoogleCodeExporter opened 8 years ago
I tried to add, but it doesn't fully act like chrome's behavior:
else if(command == "--incognito")
{
QWebSettings *globalSettings = QWebSettings::globalSettings();
globalSettings->setAttribute(QWebSettings::PrivateBrowsingEnabled, true);
settings.endGroup();
settings.beginGroup(QLatin1String("privacy"));
settings.setValue(QLatin1String("private_browsing"), true);
settings.endGroup();
mainWindow()->loadPage(args.last());
}
Original comment by roy...@gmail.com
on 15 Jun 2013 at 12:24
Original issue reported on code.google.com by
roy...@gmail.com
on 14 Jun 2013 at 8:35