Further improve window resizing.
[dorian] / fullscreenwindow.h
index bd93a10..d91408c 100644 (file)
@@ -20,9 +20,6 @@ class FullScreenWindow: public AdopterWindow
 public:
     explicit FullScreenWindow(QWidget *parent);
 
-    /** Swith to full screen, and flash the restore button. */
-    void showFullScreen();
-
     /**
      * Adopt children.
      * Same as @AdopterWindow::takeChildren(), but saves prog, previous
@@ -39,6 +36,9 @@ protected:
     /** Handle size (and orientation) change. */
     void resizeEvent(QResizeEvent *e);
 
+    /** Handle show event. */
+    void showEvent(QShowEvent *e);
+
 protected slots:
     /** Re-align adopted child windows. */
     void placeChildren();