View | Details | Raw Unified | Return to bug 10025
Collapse All | Expand All

(-)synce-kde-0.9.1.orig/rapip/rapip.cpp (-3 / +3 lines)
Lines 62-68 Link Here
62
    HRESULT hr;
62
    HRESULT hr;
63
63
64
    if (!actualHost.isEmpty())
64
    if (!actualHost.isEmpty())
65
        synce::synce_set_connection_filename(actualHost.ascii());
65
        synce::synce_set_connection_filename(actualHost.utf8());
66
    else
66
    else
67
        synce::synce_set_default_connection_filename();
67
        synce::synce_set_default_connection_filename();
68
68
Lines 150-156 Link Here
150
                entry = find_data + i;
150
                entry = find_data + i;
151
151
152
                atom.m_uds = KIO::UDS_NAME;
152
                atom.m_uds = KIO::UDS_NAME;
153
                atom.m_str = QString::fromUcs2(entry->cFileName).ascii();
153
                atom.m_str = QString::fromUcs2(entry->cFileName);
154
                udsEntry.append( atom );
154
                udsEntry.append( atom );
155
155
156
                atom.m_uds = KIO::UDS_SIZE;
156
                atom.m_uds = KIO::UDS_SIZE;
Lines 177-183 Link Here
177
                    atom.m_long = S_IFREG;
177
                    atom.m_long = S_IFREG;
178
                    udsEntry.append(atom);
178
                    udsEntry.append(atom);
179
179
180
                    tmpUrl.setPath(synce::wstr_to_ascii(entry->cFileName));
180
                    tmpUrl.setPath(synce::wstr_to_utf8(entry->cFileName));
181
                    mt = KMimeType::findByURL(tmpUrl);
181
                    mt = KMimeType::findByURL(tmpUrl);
182
                    atom.m_uds = KIO::UDS_MIME_TYPE;
182
                    atom.m_uds = KIO::UDS_MIME_TYPE;
183
                    atom.m_str=mt->name();
183
                    atom.m_str=mt->name();

Return to bug 10025