Bug 675411 - Kontact crashes when modifying left sidebars preferences (change to icons only etc.)
Summary: Kontact crashes when modifying left sidebars preferences (change to icons onl...
Keywords:
Status: CLOSED DUPLICATE of bug 675414
Alias: None
Product: Fedora
Classification: Fedora
Component: kdepim
Version: 14
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-05 14:13 UTC by Piotrek Juźwiak
Modified: 2011-02-07 10:48 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-02-05 14:17:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 250138 0 None None None Never

Description Piotrek Juźwiak 2011-02-05 14:13:36 UTC
Description of problem:
Right click anywhere in the left sidebar to change the look.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Piotrek Juźwiak 2011-02-05 14:14:41 UTC
Sorry i am not adding any details but the upstream bug report has everything that is needed.

Comment 2 Piotrek Juźwiak 2011-02-05 14:16:38 UTC
Comment #57 contains the solution?

"


------- Comment #57 From Till Adam 2011-01-17 12:59:54 (-) [reply] -------
commit f142cd203cecfc7195b5e5e115c4a66093454e16
branch 4.4
Author: Till Adam <adam>
Date:   Sun Nov 28 19:59:54 2010 +0000

    Backport commit eb37385 from master to 4.4:
    Don't crash when changing the icon or text size or visibility.
    CCBUG: 250138
    FIXED-IN: 4.4.10

diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp
index 1b71290..c83b95b 100644
--- a/kontact/src/iconsidepane.cpp
+++ b/kontact/src/iconsidepane.cpp
@@ -90,9 +90,9 @@ class Model : public QStringListModel
     {
     }

-    void emitLayoutChanged()
+    void emitReset()
     {
-        emit layoutChanged();
+        emit reset();
     }

     void setPluginList( const QList<KontactInterface::Plugin*> &list ) {
@@ -500,7 +500,7 @@ void Navigator::slotActionTriggered( bool checked )
   Prefs::self()->setSidePaneShowIcons( mShowIcons );
   Prefs::self()->setSidePaneShowText( mShowText );

-  mModel->emitLayoutChanged();
+  mModel->emitReset();

   QTimer::singleShot( 0, this, SLOT(updateNavigatorSize()) );
 }

"

Comment 3 Lukáš Tinkl 2011-02-07 10:48:33 UTC

*** This bug has been marked as a duplicate of bug 675414 ***


Note You need to log in before you can comment on or make changes to this bug.