diff --git a/rtgui/filecatalog.cc b/rtgui/filecatalog.cc index 091174deb..89f082b0d 100644 --- a/rtgui/filecatalog.cc +++ b/rtgui/filecatalog.cc @@ -17,11 +17,11 @@ * You should have received a copy of the GNU General Public License * along with RawTherapee. If not, see . */ -#include -#include -#include +#include +#include +#include #include "../rtengine/rt_math.h" - + #include "filecatalog.h" #include "filepanel.h" #include "options.h" @@ -34,7 +34,7 @@ #include "batchqueue.h" #include "rtimage.h" -using namespace std; +using namespace std; #define CHECKTIME 2000 @@ -721,8 +721,8 @@ void FileCatalog::deleteRequested (std::vector tbe, bool inc if (tbe.empty()) return; - Gtk::MessageDialog msd (M("FILEBROWSER_DELETEDLGLABEL"), false, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_YES_NO, true); - msd.set_secondary_text(Glib::ustring::compose ( inclBatchProcessed ? M("FILEBROWSER_DELETEDLGMSGINCLPROC") : M("FILEBROWSER_DELETEDLGMSG"), tbe.size())); + Gtk::MessageDialog msd (M("FILEBROWSER_DELETEDLGLABEL"), true, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_YES_NO, true); + msd.set_secondary_text(Glib::ustring::compose ( inclBatchProcessed ? M("FILEBROWSER_DELETEDLGMSGINCLPROC") : M("FILEBROWSER_DELETEDLGMSG"), tbe.size()), true); if (msd.run()==Gtk::RESPONSE_YES) { for (unsigned int i=0; i tbe, bool fas if (listener) { std::vector entries; - - #pragma omp parallel for ordered + + #pragma omp parallel for ordered for (size_t i=0; ithumbnail->getProcParams(); @@ -1123,8 +1123,8 @@ void FileCatalog::categoryButtonToggled (Gtk::ToggleButton* b) { toggled_stars_count = 1; } if (toggled_stars_count == 1) { - int current_star=min(start_star,toggled_button); - int last_star =max(start_star,toggled_button); + int current_star=min(start_star,toggled_button); + int last_star =max(start_star,toggled_button); //we permute the start and the end star for the next loop for (; current_star <= last_star; current_star++) { //we toggle on all the star in the range