diff --git a/QtFixer/Mp3FileListItem.h b/QtFixer/Mp3FileListItem.h index bf60592..a2ba0ff 100644 --- a/QtFixer/Mp3FileListItem.h +++ b/QtFixer/Mp3FileListItem.h @@ -22,7 +22,7 @@ #ifndef MP3FILELISTITEM_H #define MP3FILELISTITEM_H -#include +#include #include "VbrfixMain.h" class Mp3FileListItem : public QTreeWidgetItem diff --git a/QtFixer/Options.h b/QtFixer/Options.h index 9939c3e..6c95dbd 100644 --- a/QtFixer/Options.h +++ b/QtFixer/Options.h @@ -23,7 +23,7 @@ #define OPTIONS_H #include "FixerSettings.h" -#include +#include class QWidget; diff --git a/QtFixer/QtFixer.pro b/QtFixer/QtFixer.pro index 92693fb..4f661ba 100644 --- a/QtFixer/QtFixer.pro +++ b/QtFixer/QtFixer.pro @@ -3,6 +3,7 @@ # Subdir relative project main directory: ./QtFixer # Target is an application: VbrfixGui +QT += widgets FORMS += settings.ui \ vbrfixui.ui \ about.ui \ diff --git a/QtFixer/VbrfixAbout.h b/QtFixer/VbrfixAbout.h index 765f39c..f1c76a0 100644 --- a/QtFixer/VbrfixAbout.h +++ b/QtFixer/VbrfixAbout.h @@ -22,7 +22,7 @@ #ifndef VBRFIXABOUT_H #define VBRFIXABOUT_H -#include +#include #include "ui_about.h" class VbrfixAbout: public QDialog, public Ui_AboutDialog diff --git a/QtFixer/VbrfixGetHeaderInfo.h b/QtFixer/VbrfixGetHeaderInfo.h index f023ed8..2da59d2 100755 --- a/QtFixer/VbrfixGetHeaderInfo.h +++ b/QtFixer/VbrfixGetHeaderInfo.h @@ -22,7 +22,7 @@ #ifndef VBRFIXGETHEADERINFO_H #define VBRFIXGETHEADERINFO_H -#include +#include #include "ui_mp3headerInfo.h" class VbrfixGetHeaderInfo: public QDialog, public Ui_GetMp3HeaderInfo diff --git a/QtFixer/VbrfixMain.cpp b/QtFixer/VbrfixMain.cpp index 0d7a0c7..89e606f 100644 --- a/QtFixer/VbrfixMain.cpp +++ b/QtFixer/VbrfixMain.cpp @@ -120,7 +120,7 @@ void VbrfixMain::fixAnother() m_pFixThread = NULL; } m_pFixThread = new VbrfixThread(m_Options, fixItem->getFileName()); - bool bOK = connect(m_pFixThread, SIGNAL(guiEvent(int)), this, SLOT(threadGuiEvent(int))); + bool bOK = connect(m_pFixThread, &VbrfixThread::guiEvent, this, &VbrfixMain::threadGuiEvent); assert(bOK); // something has gone wrong with the gui // select the fixing item diff --git a/QtFixer/VbrfixMain.h b/QtFixer/VbrfixMain.h index 4abe266..eaf20cc 100644 --- a/QtFixer/VbrfixMain.h +++ b/QtFixer/VbrfixMain.h @@ -23,7 +23,7 @@ #define __VBRFIXMAIN_H #include "ui_vbrfixui.h" -#include +#include #include "VbrfixThread.h" #include "Options.h" diff --git a/QtFixer/VbrfixSettings.cpp b/QtFixer/VbrfixSettings.cpp index 962160d..f599071 100644 --- a/QtFixer/VbrfixSettings.cpp +++ b/QtFixer/VbrfixSettings.cpp @@ -23,7 +23,7 @@ #include "VbrfixSettings.h" #include "ComboManager.h" #include "Options.h" -#include +#include VbrfixSettings::VbrfixSettings(QWidget *parent, Options &options) : QDialog(parent) diff --git a/QtFixer/VbrfixThread.h b/QtFixer/VbrfixThread.h index 9e2425e..b03eec2 100644 --- a/QtFixer/VbrfixThread.h +++ b/QtFixer/VbrfixThread.h @@ -22,7 +22,7 @@ #ifndef VBRFIXTHREAD_H #define VBRFIXTHREAD_H -#include +#include #include "FeedBackInterface.h" #include "FixerSettings.h" #include "VbrFixer.h"