]> git.sur5r.net Git - minitube/blobdiff - src/sidebarheader.h
Upload 3.9.3-2 to unstable
[minitube] / src / sidebarheader.h
index 0ac551ef8dae51279b0c57c4280ee70951bb1854..e6619b72655d778fb6f4537f28fc6337d4da3d3a 100644 (file)
@@ -21,10 +21,7 @@ $END_LICENSE */
 #ifndef SIDEBARHEADER_H
 #define SIDEBARHEADER_H
 
-#include <QtGui>
-#if QT_VERSION >= 0x050000
 #include <QtWidgets>
-#endif
 
 class SidebarHeader : public QToolBar {
 
@@ -39,14 +36,14 @@ protected:
     void paintEvent(QPaintEvent *event);
 
 private slots:
-    void updateTitle(QString title);
+    void updateTitle(const QString &title);
 
 private:
     void setup();
-    void setTitle(QString title);
+    void setTitle(const QString &title);
 
     QAction *backAction;
-    QAction * forwardAction;
+    QAction *forwardAction;
     QString title;
     QList<QAction*> videoSourceActions;
 };