Skip to content

Commit

Permalink
compiler warning & layout fix (histogram)
Browse files Browse the repository at this point in the history
  • Loading branch information
diemmarkus committed Nov 11, 2014
1 parent abe41ab commit 583c8ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ImageLounge/src/DkMetaData.cpp
Expand Up @@ -596,7 +596,7 @@ QImage DkMetaDataT::getPreviewImage(int minPreviewWidth) const {
for (size_t idx = 0; idx < pList.size(); idx++) {

if (pList[idx].width_ > (uint32_t)maxWidth && pList[idx].width_ > (uint32_t)minPreviewWidth) {
mIdx = idx;
mIdx = (int)idx;
maxWidth = pList[idx].width_;
}
}
Expand Down
1 change: 1 addition & 0 deletions ImageLounge/src/DkViewPort.cpp
Expand Up @@ -221,6 +221,7 @@ void DkControlWidget::init() {
QBoxLayout* hwLayout = new QBoxLayout(QBoxLayout::RightToLeft, hw);
hwLayout->setContentsMargins(0,0,0,0);
hwLayout->addWidget(histogram);
hwLayout->addStretch();

// right column
QWidget* rightWidget = new QWidget();
Expand Down
Binary file modified ImageLounge/src/nomacs.rc
Binary file not shown.

0 comments on commit 583c8ff

Please sign in to comment.