More extensive implementation of history browsing + integration with GUI

Change-Id: I78f810a0a87714322a20514bd3d1da2cc1839780
diff --git a/gui/chronosharegui.cpp b/gui/chronosharegui.cpp
index 898f6c4..cdc5dc0 100644
--- a/gui/chronosharegui.cpp
+++ b/gui/chronosharegui.cpp
@@ -355,7 +355,13 @@
 
 void ChronoShareGui::openInWebBrowser()
 {
-  QDesktopServices::openUrl(QUrl("http://localhost:9001"));
+  QUrl url ("http://localhost:9001/");
+  url.setFragment ("fileList&"
+                   "user=" + QUrl::toPercentEncoding (m_username) + "&"
+                   "folder=" + QUrl::toPercentEncoding (m_sharedFolderName));
+
+  // i give up. there is double encoding and I have no idea how to fight it...
+  QDesktopServices::openUrl (url);
 }
 
 void ChronoShareGui::openFile()