diff --git a/src/GUI.cpp b/src/GUI.cpp index 3004e4c8a..2659cf6f3 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -562,7 +562,7 @@ void GUI::sortDownloadListFloat(int index, Qt::SortOrder sortOrder){ for(int row=0; rowinsertRow(DLListModel->rowCount()); int sourceRow = lines[row].first; - for(int col=0; col<7; ++col){ + for(int col=0; colcolumnCount(); ++col){ DLListModel->setData(DLListModel->index(nbRows_old+row, col), DLListModel->data(DLListModel->index(sourceRow, col))); DLListModel->setData(DLListModel->index(nbRows_old+row, col), DLListModel->data(DLListModel->index(sourceRow, col), Qt::DecorationRole), Qt::DecorationRole); DLListModel->setData(DLListModel->index(nbRows_old+row, col), DLListModel->data(DLListModel->index(sourceRow, col), Qt::TextColorRole), Qt::TextColorRole); @@ -583,7 +583,7 @@ void GUI::sortDownloadListString(int index, Qt::SortOrder sortOrder){ for(int row=0; rowinsertRow(DLListModel->rowCount()); int sourceRow = lines[row].first; - for(int col=0; col<7; ++col){ + for(int col=0; colcolumnCount(); ++col){ DLListModel->setData(DLListModel->index(nbRows_old+row, col), DLListModel->data(DLListModel->index(sourceRow, col))); DLListModel->setData(DLListModel->index(nbRows_old+row, col), DLListModel->data(DLListModel->index(sourceRow, col), Qt::DecorationRole), Qt::DecorationRole); DLListModel->setData(DLListModel->index(nbRows_old+row, col), DLListModel->data(DLListModel->index(sourceRow, col), Qt::TextColorRole), Qt::TextColorRole); diff --git a/src/about_imp.h b/src/about_imp.h index 2eea4f6af..501df19ac 100644 --- a/src/about_imp.h +++ b/src/about_imp.h @@ -23,7 +23,7 @@ #define ABOUT_H #include "ui_about.h" -#define VERSION "v0.9.0beta2" +#define VERSION "v0.9.0beta3" #define VERSION_MAJOR 0 #define VERSION_MINOR 9 #define VERSION_BUGFIX 0