initial commit
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ cExportDialog::cExportDialog(QWidget *parent) :
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
connect(ui->m_lpQualityValue, &QSlider::valueChanged, this, &cExportDialog::onQualityChanged);
|
connect(ui->m_lpQuality, &QSlider::valueChanged, this, &cExportDialog::onQualityChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
cExportDialog::~cExportDialog()
|
cExportDialog::~cExportDialog()
|
||||||
|
|||||||
@@ -84,6 +84,9 @@ bool cImage::loadRAW(const QString &fileName)
|
|||||||
if(rawProcessor.open_file(fileName.toUtf8()) != LIBRAW_SUCCESS)
|
if(rawProcessor.open_file(fileName.toUtf8()) != LIBRAW_SUCCESS)
|
||||||
return(false);
|
return(false);
|
||||||
|
|
||||||
|
rawProcessor.imgdata.params.use_camera_wb = 0;
|
||||||
|
rawProcessor.imgdata.params.use_auto_wb = 0;
|
||||||
|
|
||||||
if(rawProcessor.unpack() != LIBRAW_SUCCESS)
|
if(rawProcessor.unpack() != LIBRAW_SUCCESS)
|
||||||
return(false);
|
return(false);
|
||||||
|
|
||||||
|
|||||||
@@ -189,6 +189,8 @@ void cMainWindow::addFile(const QString& file)
|
|||||||
items[0]->setData(QVariant::fromValue(lpExif), Qt::UserRole+1);
|
items[0]->setData(QVariant::fromValue(lpExif), Qt::UserRole+1);
|
||||||
|
|
||||||
m_lpFileListModel->appendRow(items);
|
m_lpFileListModel->appendRow(items);
|
||||||
|
|
||||||
|
qApp->processEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cMainWindow::isInList(const QString& file)
|
bool cMainWindow::isInList(const QString& file)
|
||||||
|
|||||||
Reference in New Issue
Block a user