From 856119c5a43b4781b051b93a0713c152cfd99f85 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 15 Apr 2022 13:27:34 +0200 Subject: Make it run with Qt6 This is a huge commit. Changes: * Obviously, make it compile * Make it run (only scarcely tested) * get rid of most of clang's warnings Let's see what surprises are in store... --- fswidget.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'fswidget.h') diff --git a/fswidget.h b/fswidget.h index aaf6f17..27893f5 100644 --- a/fswidget.h +++ b/fswidget.h @@ -3,7 +3,6 @@ #include #include -#include class QComboBox; class QTreeView; @@ -42,7 +41,7 @@ class FSWidget : public QWidget { void archivePics(); void copyMD5(); void advanceDir(int by); - int queryCount(QSqlQuery &q, const QString &arg); + int queryCount(QSqlQuery *q, const QString &arg); void filterMime(const QString &mime); void unpack(); void doubleClicked(const QModelIndex &idx); @@ -52,7 +51,6 @@ class FSWidget : public QWidget { void doPlay(); void selectFilter(); void calculateSelectionChanged(); - void playerStateChanged(QMediaPlayer::State s); signals: void message(QString msg); @@ -76,7 +74,6 @@ class FSWidget : public QWidget { NewMovieWizard *mMovieWizard; NewPicsDialog *mNewPicsDlg; Viewer *mViewer; - VideoViewer *mVideoViewer; int mQueryCount; QAction *mPlayWithA; }; -- cgit v1.2.3-70-g09d2