Skip to content

Commit

Permalink
Windows compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jul 3, 2018
1 parent d7d00d2 commit 39a2a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/gui/AstroCalcDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void AstroCalcDialog::createDialogContent()
// Kinetic scrolling for tablet pc and pc
QList<QWidget*> addscroll;
addscroll << ui->celestialPositionsTreeWidget << ui->ephemerisTreeWidget << ui->phenomenaTreeWidget
<< ui->wutCategoryListWidget << ui->wutMatchingObjectsListWidget;
<< ui->wutCategoryListWidget << ui->wutMatchingObjectsListView;
installKineticScrolling(addscroll);
acEndl = "\r\n";
#else
Expand Down Expand Up @@ -335,8 +335,7 @@ void AstroCalcDialog::searchWutClear()
{
ui->wutMatchingObjectsLineEdit->clear();
proxyModel->setSourceModel(wutModel);
proxyModel->sort(0, Qt::AscendingOrder);
//ui->wutMatchingObjectsListWidget->reset();
proxyModel->sort(0, Qt::AscendingOrder);
}

void AstroCalcDialog::updateAstroCalcData()
Expand Down
2 changes: 1 addition & 1 deletion src/gui/astroCalcDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="currentIndex">
<number>6</number>
<number>0</number>
</property>
<widget class="QWidget" name="stackedWidgetPage1">
<layout class="QGridLayout" name="gridLayout_2">
Expand Down

0 comments on commit 39a2a8f

Please sign in to comment.