diff --git a/src/lib/app/datapaths.h b/src/lib/app/datapaths.h --- a/src/lib/app/datapaths.h +++ b/src/lib/app/datapaths.h @@ -42,6 +42,7 @@ }; explicit DataPaths(); + ~DataPaths(); // Set absolute path of current profile static void setCurrentProfilePath(const QString &profilePath); diff --git a/src/lib/app/datapaths.cpp b/src/lib/app/datapaths.cpp --- a/src/lib/app/datapaths.cpp +++ b/src/lib/app/datapaths.cpp @@ -31,6 +31,10 @@ init(); } +DataPaths::~DataPaths() +{ +} + // static void DataPaths::setCurrentProfilePath(const QString &profilePath) { diff --git a/src/lib/downloads/downloaditem.cpp b/src/lib/downloads/downloaditem.cpp --- a/src/lib/downloads/downloaditem.cpp +++ b/src/lib/downloads/downloaditem.cpp @@ -39,6 +39,7 @@ #ifdef Q_OS_WIN #include "Shlwapi.h" +#include "shellapi.h" #endif //#define DOWNMANAGER_DEBUG diff --git a/src/lib/other/registerqappassociation.cpp b/src/lib/other/registerqappassociation.cpp --- a/src/lib/other/registerqappassociation.cpp +++ b/src/lib/other/registerqappassociation.cpp @@ -21,7 +21,9 @@ #include "mainapplication.h" #include "browserwindow.h" +#define _WIN32_WINNT 0x0602 #include "ShlObj.h" + #include #include #include