mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-30 00:35:25 +00:00
Fix style of last commit.
This commit is contained in:
parent
a729568a51
commit
6752cd35e2
@ -231,7 +231,8 @@ void NewFileDialog::dragEnterEvent(QDragEnterEvent *event)
|
|||||||
void NewFileDialog::dropEvent(QDropEvent *event)
|
void NewFileDialog::dropEvent(QDropEvent *event)
|
||||||
{
|
{
|
||||||
// Accept drag & drop events only if they provide a URL
|
// Accept drag & drop events only if they provide a URL
|
||||||
if(event->mimeData()->urls().count() == 0) {
|
if(event->mimeData()->urls().count() == 0)
|
||||||
|
{
|
||||||
qWarning() << "No URL in drop event, ignoring it.";
|
qWarning() << "No URL in drop event, ignoring it.";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user