Révision 4437014e
webphotoalbum.cpp | ||
---|---|---|
249 | 249 |
#ifdef Q_OS_LINUX |
250 | 250 |
addPictureToProject(event->mimeData()->urls().at(i).toString().remove("file://")); |
251 | 251 |
#endif |
252 |
#ifdef Q_OS_MAC |
|
253 |
addPictureToProject(event->mimeData()->urls().at(i).toString().remove("file://")); |
|
254 |
#endif |
|
252 | 255 |
qDebug() << "Accepte le drop d'une image"; |
253 | 256 |
event->acceptProposedAction(); |
254 | 257 |
} |
Formats disponibles : Unified diff