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

List:       kde-commits
Subject:    koffice/lib/kofficecore
From:       Thomas Zander <zander () kde ! org>
Date:       2005-12-09 22:02:47
Message-ID: 1134165767.588325.15786.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 487253 by zander:

Replace rather arbitairy 9999 with MAXINT


 M  +3 -1      koOpenPane.cc  


--- trunk/koffice/lib/kofficecore/koOpenPane.cc #487252:487253
@@ -39,6 +39,8 @@
 #include "koDocument.h"
 #include "koDetailsPane.h"
 
+#include <values.h>
+
 class KoSectionListItem : public QListViewItem
 {
   public:
@@ -184,7 +186,7 @@
     // TODO remove former
 
     if(widget)
-        addPane(i18n("Custom Document"), QString::null, widget, 9999);
+        addPane(i18n("Custom Document"), QString::null, widget, MAXINT);
 }
 
 QListViewItem* KoOpenPane::addPane(const QString& title, const QString& icon, \
QWidget* widget, int sortWeight)


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

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