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

List:       kde-commits
Subject:    kdenox/konq-embed/dropin
From:       Stefan Eilers <stefan.eilers () basyskom ! de>
Date:       2007-04-13 17:08:55
Message-ID: 1176484135.437444.8328.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 653575 by eilers:

Fix returned screen resolution for javascript and fix build without debug messages

 M  +0 -2      kfiledialog.cpp  
 M  +4 -2      kglobalsettings.h  
 M  +2 -0      kio/kprotocolmanager.cpp  
 M  +1 -0      kio/progressbase.cpp  


--- trunk/kdenox/konq-embed/dropin/kfiledialog.cpp #653574:653575
@@ -195,13 +195,11 @@
 
 QString QPEFileSaverWrapper::selectedPath() const 
 { 
-    kdDebug() << "Selected Path: " << nameMap[m_storageCombo->currentText()] << endl;
     return nameMap[m_storageCombo->currentText()]; 
 }
 
 QString QPEFileSaverWrapper::selectedFilename() const 
 { 
-    kdDebug() << "Selected Filename: " << m_fileEdit->text() << endl;
     return m_fileEdit->text(); 
 }
 
--- trunk/kdenox/konq-embed/dropin/kglobalsettings.h #653574:653575
@@ -23,6 +23,7 @@
 
 #include <qfont.h>
 #include <qrect.h>
+#include <qapplication.h>
 
 #define KDE_DEFAULT_CHANGECURSOR true
 
@@ -45,8 +46,9 @@
     static int contrast() { return 7; } // ###
 
     // Required by kdelibs 3.2
-    // XXX may need a proper implementation.
-    static QRect desktopGeometry(QWidget * /* w */) { return QRect(0, 0, 160, 160); }
+    static QRect desktopGeometry(QWidget * /* w */) { 
+	return QApplication::desktop()->rect(); 
+    }
 
     static QString documentPath() { return "/tmp/"; }
     
--- trunk/kdenox/konq-embed/dropin/kio/kprotocolmanager.cpp #653574:653575
@@ -25,6 +25,8 @@
 #include "kprotocolmanager.h"
 #include <kglobal.h>
 #include <kconfig.h>
+#include <klocale.h>
+#include <kdebug.h>
 #include <ioslave_defaults.h>
 #include <kdeversion.h>
 #include <qglobal.h>
--- trunk/kdenox/konq-embed/dropin/kio/progressbase.cpp #653574:653575
@@ -18,6 +18,7 @@
 
 #include "jobclasses.h"
 #include "progressbase.h"
+#include "kdebug.h"
 
 //namespace KIO {
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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