r24171 by jghali - Remove unused refreshItem() signal

scribus-commit scribus-commit at lists.scribus.net
Wed Nov 4 00:37:40 UTC 2020


Author: jghali
Date: Wed Nov  4 00:37:40 2020
New Revision: 24171

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24171
Log:
Remove unused refreshItem() signal

Modified:
    trunk/Scribus/scribus/scribusdoc.h
    trunk/Scribus/scribus/ui/picstatus.cpp
    trunk/Scribus/scribus/ui/picstatus.h

Modified: trunk/Scribus/scribus/scribusdoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24171&path=/trunk/Scribus/scribus/scribusdoc.h
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.h	(original)
+++ trunk/Scribus/scribus/scribusdoc.h	Wed Nov  4 00:37:40 2020
@@ -1470,7 +1470,6 @@
 	void docChanged();
 	void updateContents();
 	void updateContents(const QRect &r);
-	void refreshItem(PageItem *);
 	void firstSelectedItemType(int);
 
 	void updateEditItem();

Modified: trunk/Scribus/scribus/ui/picstatus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24171&path=/trunk/Scribus/scribus/ui/picstatus.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/picstatus.cpp	(original)
+++ trunk/Scribus/scribus/ui/picstatus.cpp	Wed Nov  4 00:37:40 2020
@@ -410,7 +410,6 @@
 	if (currItem == nullptr)
 		return;
 	currItem->setImageVisible(isVisibleCheck->isChecked());
-	emit refreshItem(currItem);
 }
 
 void PicStatus::GotoPic()
@@ -489,7 +488,6 @@
 	auto source = QFileInfo(currItem->Pfile);
 
 	loadPict(currItem, dia2->getSelectedImage());
-	refreshItem(currItem);
 	auto target = QFileInfo(currItem->Pfile);
 	item->setText(target.fileName());
 	item->setIcon(createImgIcon(currItem));
@@ -520,7 +518,6 @@
 	{
 		currItem->effectsInUse = dia->effectsList;
 		loadPict(currItem, currItem->Pfile);
-		refreshItem(currItem);
 		imageViewArea->currentItem()->setIcon(createImgIcon(currItem));
 	}
 	delete dia;
@@ -535,7 +532,6 @@
 	if (dia.exec())
 	{
 		loadPict(currItem, currItem->Pfile);
-		refreshItem(currItem);
 		imageViewArea->currentItem()->setIcon(createImgIcon(currItem));
 	}
 }
@@ -570,7 +566,6 @@
 			continue;
 
 		loadPict(item->PageItemObject, QDir(target.path()).filePath(fi.fileName()));
-		refreshItem(item->PageItemObject);
 		item->setText(fi.fileName());
 		item->setIcon(createImgIcon(item->PageItemObject));
 	}

Modified: trunk/Scribus/scribus/ui/picstatus.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24171&path=/trunk/Scribus/scribus/ui/picstatus.h
==============================================================================
--- trunk/Scribus/scribus/ui/picstatus.h	(original)
+++ trunk/Scribus/scribus/ui/picstatus.h	Wed Nov  4 00:37:40 2020
@@ -95,7 +95,6 @@
 	void selectPage(int);
 	void selectMasterPage(QString);
 	void selectElementByItem(PageItem *, bool, int);
-	void refreshItem(PageItem*);
 
 protected:
 	/*! \brief Enable widgets depending on currently selected item */




More information about the scribus-commit mailing list