Projet

Général

Profil

Révision d044a969

Voir les différences:

original.cpp
59 59
    sizes.append(500);
60 60
    ui->splitter->setSizes(sizes);
61 61

  
62
    m_baseDir = QDir(QDir::homePath() + "/RyXeo-WebPhotoAlbum");
62
    m_baseDir = QDir(QDir::homePath() + "/RyXeo-Applications/WebPhotoAlbum");
63 63
    m_baseDir.setFilter(QDir::Dirs | QDir::NoSymLinks | QDir::NoDotAndDotDot);
64 64
    QFileInfoList list = m_baseDir  .entryInfoList();
65 65
    for(int i = 0; i < list.count(); i++) {
......
305 305
                {
306 306
                    //                    qDebug() << i->key().c_str() << " = " << i->value().toString().c_str();
307 307
                    if (i->key() == "Exif.Image.Artist") {
308
                        exifData["Exif.Image.Artist"]    = "Eric S.";
308
                        exifData["Exif.Image.Artist"]    = ui->leAuthor->text().trimmed();
309 309
                        setArtist = true;
310 310
                    }
311 311
                    if (i->key() == "Exif.Image.Copyright") {
312
                        exifData["Exif.Image.Copyright"]    = "Eric S.";
312
                        exifData["Exif.Image.Copyright"]    = ui->leAuthor->text().trimmed();
313 313
                        setCopyright = true;
314 314
                    }
315 315
                    if (i->key() == "Exif.Image.Software") {
......
323 323
                if(!setArtist) {
324 324
                    Exiv2::ExifKey k("Exif.Image.Artist");
325 325
                    Exiv2::Value::AutoPtr v = Exiv2::Value::create(Exiv2::asciiString);
326
                    v->read("Eric S.");
326
                    v->read(ui->leAuthor->text().trimmed());
327 327
                    exifData.add(k,v.get());
328 328
                }
329 329

  
330 330
                if(!setCopyright) {
331 331
                    Exiv2::ExifKey k2("Exif.Image.Copyright");
332 332
                    Exiv2::Value::AutoPtr v2 = Exiv2::Value::create(Exiv2::asciiString);
333
                    v2->read("Eric S.");
333
                    v2->read(ui->leAuthor->text().trimmed());
334 334
                    exifData.add(k2,v2.get());
335 335
                }
336 336

  
tools.cpp
60 60

  
61 61
void tools::ftpCommandFinished(int commandId, bool error)
62 62
{
63
    //    if(error) {
64 63
    qDebug() << "======================= BEGIN FTP INFO ======================= ";
65 64
    qDebug() << "  Numero de commande : " << commandId;
66
    //    }
67 65

  
68 66
    if (m_ftp->currentCommand() == QFtp::ConnectToHost) {
69 67
        qDebug() << "  Command: Connect to host";
......
113 111

  
114 112
void tools::ftpDone(bool error)
115 113
{
116
    qDebug() << "tools::ftpDone : " << error;
117
    //if(error)
118
    qDebug() << "   " << m_ftp->errorString();
119

  
114
    //    qDebug() << "tools::ftpDone : " << error;
115
    //    if(error)
116
    //        qDebug() << "   " << m_ftp->errorString();
120 117
    //on passe a la commande FTP suivante et on nettoie au passage
121 118
    //    m_ftp->clearPendingCommands();
122 119
    ftpNextCommand();

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux