summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiveview.cpp2
-rw-r--r--newmoviewizard.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/archiveview.cpp b/archiveview.cpp
index 1d49db0..1e272f5 100644
--- a/archiveview.cpp
+++ b/archiveview.cpp
@@ -464,7 +464,7 @@ bool ArchiveProxy::lessThan(const QModelIndex &left, const QModelIndex &right) c
if((lNodeType == ArchiveModel::SeriesPartNode) && (rNodeType == ArchiveModel::SeriesPartNode)){
int lPartNo = left.data(ArchiveModel::SeriesPartRole).toInt();
int rPartNo = right.data(ArchiveModel::SeriesPartRole).toInt();
- if((lPartNo > -1) && (rPartNo > -1)){
+ if((lPartNo > 0) && (rPartNo > 0)){
return (lPartNo < rPartNo);
}
QString lSubtitle = left.data(ArchiveModel::SubtitleRole).toString();
diff --git a/newmoviewizard.cpp b/newmoviewizard.cpp
index a1ab2f3..0fe0bae 100644
--- a/newmoviewizard.cpp
+++ b/newmoviewizard.cpp
@@ -300,7 +300,7 @@ void MovieInfoPage::setupGui(){
QLabel *l3 = new QLabel(tr("&Series no."));
mSeriesNo = new QSpinBox;
l3->setBuddy(mSeriesNo);
- mSeriesNo->setMinimum(1);
+ mSeriesNo->setMinimum(0);
numberLayout->addWidget(l3);
numberLayout->addWidget(mSeriesNo);
QLabel *l5 = new QLabel(tr("&Quality"));