]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/gototime.hpp
Qt: messages cleanup and work around #2432 to solve the speed issues.
[vlc] / modules / gui / qt4 / dialogs / gototime.hpp
index 3eee313788c623b1eac9e1b145992d481f7d16a9..da94bae18f625ed3ce8268169192a4c7b3b546c9 100644 (file)
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #ifndef _GOTOTIME_DIALOG_H_
 
 class QTimeEdit;
 
-class GotoTimeDialog : public QVLCFrame
+class GotoTimeDialog : public QVLCDialog
 {
     Q_OBJECT;
 public:
     static GotoTimeDialog * getInstance( intf_thread_t *p_intf )
     {
         if( !instance)
-            instance = new GotoTimeDialog( p_intf);
+            instance = new GotoTimeDialog( (QWidget *)p_intf->p_sys->p_mi, p_intf );
         return instance;
     }
     virtual ~GotoTimeDialog();
-    QTimeEdit *timeEdit;
 
 private:
-    GotoTimeDialog( intf_thread_t *);
+    GotoTimeDialog( QWidget *, intf_thread_t * );
     static GotoTimeDialog *instance;
-public slots:
+    QTimeEdit *timeEdit;
+private slots:
     void close();
     void cancel();
 };