initial commit

This commit is contained in:
2020-02-04 10:39:01 +01:00
parent 6ebefa622d
commit f29a2e57ec
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -48,7 +48,13 @@ cFileBrowser::cFileBrowser(QProgressBar* lpProgressBar, QList<IMAGEFORMAT>* lpIm
m_cacheDB.open();
if(!m_cacheDB.open())
return;
{
QDir dir(userDir());
dir.mkpath(userDir());
if(!m_cacheDB.open())
return;
}
QSqlQuery query(m_cacheDB);
+1 -1
View File
@@ -16,7 +16,7 @@ cMainWindow::cMainWindow(cSplashScreen* lpSplashScreen, QWidget *parent)
: QMainWindow(parent),
ui(new Ui::cMainWindow),
m_lpSplashScreen(lpSplashScreen),
m_lpFileBrowser(0)
m_lpFileBrowser(nullptr)
{
setImageFormats();