Object::connect: No such slot Tellico::DetailedListView::slotRefreshImages()

Sandor Bodo-Merle sbodomerle at gmail.com
Sat Feb 14 11:45:35 MST 2009


Running Tellico HEAD will give a log message of $subject.

DetailedListView::slotRefreshImages() was removed in commit 3237.
The following patch removes some defunct code:

Index:
src/mainwindow.cpp

===================================================================

--- src/mainwindow.cpp  (revision
3476)

+++ src/mainwindow.cpp  (working
copy)

@@ -683,8 +683,6
@@


Controller::self()->addObserver(m_detailedView);

   m_detailedView->setWhatsThis(i18n("<qt>The <i>Column View</i> shows the
value of multiple fields
"
                                        "for each
entry.</qt>"));

-  connect(Data::Document::self(),
SIGNAL(signalCollectionImagesLoaded(Tellico::Data::CollPtr)),

-          m_detailedView,
SLOT(slotRefreshImages()));



   m_viewStack = new
ViewStack(m_rightSplit);


Controller::self()->addObserver(m_viewStack->iconView());

Index:
src/document.h

===================================================================

--- src/document.h      (revision
3476)

+++ src/document.h      (working
copy)

@@ -193,11 +193,6 @@
    * @param str The message
    */
   void signalStatusMsg(const QString& str);
-  /**
-   * Signals that all images in the loaded file have been loaded
-   * into memory or onto the disk
-   */
-  void signalCollectionImagesLoaded(Tellico::Data::CollPtr coll);

 private slots:
   /**
Index: src/document.cpp
===================================================================
--- src/document.cpp    (revision 3476)
+++ src/document.cpp    (working copy)
@@ -153,7 +153,6 @@
     m_cancelImageWriting = false;
     QTimer::singleShot(500, this, SLOT(slotLoadAllImages()));
   } else {
-    emit signalCollectionImagesLoaded(m_coll);
     m_importer->deleteLater();
     m_importer = 0;
   }
@@ -538,8 +537,6 @@

   if(m_cancelImageWriting) {
     myLog() << "cancel image writing";
-  } else {
-    emit signalCollectionImagesLoaded(m_coll);
   }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://forge.novell.com/pipermail/tellico-users/attachments/20090214/0074e5eb/attachment-0001.html


More information about the tellico-users mailing list