Switch to unified view

a/src/qtgui/rclm_saveload.cpp b/src/qtgui/rclm_saveload.cpp
...
...
55
    string xml;
55
    string xml;
56
    if (lastSearchSimple()) {
56
    if (lastSearchSimple()) {
57
        xml = sSearch->asXML();
57
        xml = sSearch->asXML();
58
    } else {
58
    } else {
59
        if (g_advshistory) {
59
        if (g_advshistory) {
60
            STD_SHARED_PTR<Rcl::SearchData> sd;
60
            std::shared_ptr<Rcl::SearchData> sd;
61
            sd = g_advshistory->getnewest();
61
            sd = g_advshistory->getnewest();
62
            if (sd) {
62
            if (sd) {
63
                xml = sd->asXML();
63
                xml = sd->asXML();
64
            }
64
            }
65
        }
65
        }
...
...
114
                             QString::fromUtf8(reason.c_str()));
114
                             QString::fromUtf8(reason.c_str()));
115
        return;
115
        return;
116
    }
116
    }
117
117
118
    // Try to parse as SearchData
118
    // Try to parse as SearchData
119
    STD_SHARED_PTR<SearchData> sd = xmlToSearchData(xml);
119
    std::shared_ptr<SearchData> sd = xmlToSearchData(xml);
120
    if (sd) {
120
    if (sd) {
121
        showAdvSearchDialog();
121
        showAdvSearchDialog();
122
        asearchform->fromSearch(sd);
122
        asearchform->fromSearch(sd);
123
        return;
123
        return;
124
    }
124
    }