Renamed the pastedImage signal to imagePasted.

This commit is contained in:
Mm2PL
2019-09-25 22:39:02 +02:00
parent 4e9951371f
commit b55d08df8e
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -274,7 +274,7 @@ void ResizingTextEdit::insertFromMimeData(const QMimeData *source)
{
if (source->hasImage() || source->hasUrls())
{
this->pastedImage.invoke(source);
this->imagePasted.invoke(source);
}
else
{
@@ -298,7 +298,7 @@ void ResizingTextEdit::dropEvent(QDropEvent *event)
{
if (event->mimeData()->hasImage() || event->mimeData()->hasUrls())
{
this->pastedImage.invoke(event->mimeData());
this->imagePasted.invoke(event->mimeData());
}
else // allow for previous functionality of dropping text.
{