[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/libkonq
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2004-11-21 21:02:00
Message-ID: 20041121210200.AF21A16F6E () office ! kde ! org
[Download RAW message or body]

CVS commit by mkoller: 

BUG: 62675
if the user wants our own tooltip, don't show the one from Qts ListView


  M +6 -3      konq_iconviewwidget.cc   1.304


--- kdebase/libkonq/konq_iconviewwidget.cc  #1.303:1.304
@@ -580,9 +580,12 @@ bool KonqIconViewWidget::initConfig( boo
     }
 
-
-    d->pFileTip->setOptions(m_pSettings->showFileTips() && QToolTip::isGloballyEnabled(),
+    bool on = m_pSettings->showFileTips() && QToolTip::isGloballyEnabled();
+    d->pFileTip->setOptions(on,
                             m_pSettings->showPreviewsInFileTips(),
                             m_pSettings->numFileTips());
 
+    // if the user wants our own tooltip, don't show the one from Qts ListView
+    setShowToolTips(!on);
+
     // Font settings
     QFont font( m_pSettings->standardFont() );
@@ -601,5 +604,5 @@ bool KonqIconViewWidget::initConfig( boo
     }
 
-    setIconTextHeight( m_bDesktop ? 2 : m_pSettings->iconTextHeight() );
+    setIconTextHeight( m_pSettings->iconTextHeight() );
 
     // Update icons if settings for preview icon size have changed


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic