Switch to unified view

a/src/qtgui/advsearch_w.cpp b/src/qtgui/advsearch_w.cpp
...
...
103
103
104
    // Initialize min/max mtime from extrem values in the index
104
    // Initialize min/max mtime from extrem values in the index
105
    int minyear, maxyear;
105
    int minyear, maxyear;
106
    if (rcldb) {
106
    if (rcldb) {
107
    rcldb->maxYearSpan(&minyear, &maxyear);
107
    rcldb->maxYearSpan(&minyear, &maxyear);
108
    minDateDTE->setDisplayFormat("dd.MM.yyyy");
108
    minDateDTE->setDisplayFormat("yyyy-MM-dd");
109
    maxDateDTE->setDisplayFormat("dd.MM.yyyy");
109
    maxDateDTE->setDisplayFormat("yyyy-MM-dd");
110
    minDateDTE->setDate(QDate(minyear, 1, 1));
110
    minDateDTE->setDate(QDate(minyear, 1, 1));
111
    maxDateDTE->setDate(QDate(maxyear, 12, 31));
111
    maxDateDTE->setDate(QDate(maxyear, 12, 31));
112
    }
112
    }
113
113
114
    // Initialize lists of accepted and ignored mime types from config
114
    // Initialize lists of accepted and ignored mime types from config