Commit fca9e9d7 authored by Jan Möbius's avatar Jan Möbius

Fixed typo

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8155 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4fd00c7f
......@@ -173,12 +173,13 @@ void CoreWidget::dropEvent ( QDropEvent* _event ) {
}
// Dropped file information
if ( view.left ( 4 ) == QString("file://") ) {
if ( view.left ( 7 ) == QString("file://") ) {
_event->acceptProposedAction();
emit dragOpenFile(view.remove(0,7));
return;
}
std::cerr << "Skipped unknown drop event : " << view.toStdString() << std::endl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment