kurlrequester.cpp compile error
faure at kde.org
Thu Jan 20 09:00:51 GMT 2005
On Thursday 20 January 2005 08:46, Martin Koller wrote:
> FYI, CVS from now
> kurlrequester.cpp: In member function `void KURLRequester::slotUpdateURL()':
> kurlrequester.cpp:381: syntax error before `+' token
Does this help? (this is what the code was before I touched that method, but I really
can't see why it would make a difference).
Which compiler btw?
--- kurlrequester.cpp 19 Jan 2005 21:52:30 -0000 1.59
+++ kurlrequester.cpp 20 Jan 2005 08:59:57 -0000
@@ -378,7 +378,8 @@ KComboBox * KURLRequester::comboBox() co
// bin compat, myButton is declared as QPushButton
- KURL u( KURL( QDir::currentDirPath() + '/' ), url() );
+ KURL u;
+ u = KURL( KURL( QDir::currentDirPath() + '/' ), url() );
(static_cast<KURLDragPushButton *>( myButton ))->setURL( u );
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel