Skip to content

Commit

Permalink
set the same view mode for tasks and queue lists
Browse files Browse the repository at this point in the history
  • Loading branch information
kapitainsky committed Mar 10, 2020
1 parent e7e15b5 commit d04dadd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2261,6 +2261,11 @@ void MainWindow::listTasks() {
ui.tasksListWidget->setSpacing(5);
ui.tasksListWidget->setWrapping(true);

ui.queueListWidget->setViewMode(QListWidget::ListMode);
ui.queueListWidget->setResizeMode(QListView::Adjust);
ui.queueListWidget->setSpacing(5);
ui.queueListWidget->setWrapping(true);

// enable drag and drop reordering (there is no persistence of order
// implemented yet)
// ui.tasksListWidget->setDragDropMode(QAbstractItemView::InternalMove);
Expand Down

0 comments on commit d04dadd

Please sign in to comment.