initial commit
This commit is contained in:
+7
-1
@@ -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
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user