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

List:       kde-commits
Subject:    kdepim/kmail
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2003-01-19 19:27:37
[Download RAW message or body]

CVS commit by mutz: 

small cleanups and unneeded members removal


  M +2 -3      kmreaderwin.cpp   1.620
  M +1 -3      kmreaderwin.h   1.155


--- kdepim/kmail/kmreaderwin.cpp  #1.619:1.620
@@ -456,5 +456,4 @@ KMReaderWin::KMReaderWin(QWidget *aParen
     mShowMIMETreeMode( showMIMETreeMode ),
     mRootNode( 0 ),
-    mIdOfLastViewedMessage(),
     mMainWindow( mainWindow ),
     mActionCollection( actionCollection ),
@@ -787,6 +786,6 @@ void KMReaderWin::readConfig(void)
   mAttachmentStrategy =
     AttachmentStrategy::create( config->readEntry( "attachment-strategy" ) );
-  mLoadExternal = config->readBoolEntry( "htmlLoadExternal" );
-  mViewer->setOnlyLocalReferences( !mLoadExternal );
+
+  mViewer->setOnlyLocalReferences( !config->readBoolEntry( "htmlLoadExternal", false ) );
 
   // if the user uses OpenPGP then the color bar defaults to enabled

--- kdepim/kmail/kmreaderwin.h  #1.154:1.155
@@ -130,5 +130,5 @@ public:
       since correct value is set automatically in
       parseMsg(KMMessage* aMsg, bool onlyProcessHeaders). */
-  void setIdOfLastViewedMessage( QString msgId )
+  void setIdOfLastViewedMessage( const QString & msgId )
     { mIdOfLastViewedMessage = msgId; }
 
@@ -428,5 +428,4 @@ protected:
   QFont mBodyFont, mFixedFont;
   bool mInlineImage;
-  static QString mAttachDir;
   /** where did the user save the attachment last time */
   QString mSaveAttachDir;
@@ -462,5 +461,4 @@ protected:
          cCBisHtmlB, cCBisHtmlF;
   QString mQuoteFontTag[3];
-  bool    mLoadExternal;
   bool mShowColorbar;
   bool mShowCompleteMessage;


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

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