mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
release config for YACReaderLibrary + some warnings fixed
This commit is contained in:
parent
c0f1600fbb
commit
4795f7bdc5
@ -28,8 +28,8 @@ LIBS += -lpoppler-qt4
|
||||
INCLUDEPATH += ../dependencies/poppler/include/qt4
|
||||
}
|
||||
|
||||
#QMAKE_CXXFLAGS_RELEASE += /MP /Ob2 /Oi /Ot /GT /GL
|
||||
#QMAKE_LFLAGS_RELEASE += /LTCG
|
||||
QMAKE_CXXFLAGS_RELEASE += /MP /Ob2 /Oi /Ot /GT /GL
|
||||
QMAKE_LFLAGS_RELEASE += /LTCG
|
||||
CONFIG -= embed_manifest_exe
|
||||
}
|
||||
|
||||
|
@ -1385,14 +1385,9 @@ void PictureFlow::resortCovers(QList<int> newOrder)
|
||||
|
||||
QVector<YACReaderComicReadStatus> marksNew;
|
||||
|
||||
SlideInfo centerSlideNew;
|
||||
QVector<SlideInfo> leftSlidesNew;
|
||||
QVector<SlideInfo> rightSlidesNew;
|
||||
|
||||
QVector<SlideInfo> slidesInfo;
|
||||
slidesInfo << d->state->leftSlides << d->state->centerSlide << d->state->rightSlides;
|
||||
QVector<SlideInfo> slidesInfoNew;
|
||||
int numSlides = 1 + d->state->leftSlides.length() + d->state->rightSlides.length();
|
||||
|
||||
int order = 0;
|
||||
foreach(int index, newOrder)
|
||||
|
@ -160,7 +160,7 @@ void YACReaderTableView::performDrag()
|
||||
drag->setMimeData(model()->mimeData(selectionModel()->selectedRows()));
|
||||
drag->setPixmap(QPixmap(":/images/openInYACReader.png")); //TODO add better image
|
||||
|
||||
Qt::DropAction dropAction = drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::CopyAction);
|
||||
/*Qt::DropAction dropAction =*/ drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::CopyAction);
|
||||
}
|
||||
|
||||
void YACReaderTableView::dragEnterEvent(QDragEnterEvent *event)
|
||||
|
@ -80,7 +80,7 @@ void KeySequenceLineEdit::resizeEvent(QResizeEvent * e)
|
||||
QSize szClear = clearButton->sizeHint();
|
||||
//int frameWidth = style()->pixelMetric(QStyle::PM_DefaultFrameWidth);
|
||||
int leftMargin = style()->pixelMetric(QStyle::PM_LayoutLeftMargin);
|
||||
int topMargin = style()->pixelMetric(QStyle::PM_LayoutTopMargin);
|
||||
//int topMargin = style()->pixelMetric(QStyle::PM_LayoutTopMargin);
|
||||
clearButton->move(0 + leftMargin,(e->size().height()-19)/2); //16 is the icon height+1blank pixel
|
||||
|
||||
acceptButton->move( leftMargin + szClear.width(),(e->size().height()-19)/2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user