initial commit

master
Herwig Birke 6 years ago
parent 6ebefa622d
commit f29a2e57ec

@ -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);

@ -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();

Loading…
Cancel
Save