Switch to side-by-side view

--- a/src/qtgui/preview_w.h
+++ b/src/qtgui/preview_w.h
@@ -136,7 +136,7 @@
 			  bool wo = false);
     virtual void nextPressed();
     virtual void prevPressed();
-    virtual void currentChanged(QWidget *tw);
+    virtual void currentChanged(int);
     virtual void closeCurrentTab();
     virtual void emitSaveDocToFile();
     virtual void togglePlainPre();