Re: Clearing a QLineEdit

2011-06-19 Thread Parker Coates
On Mon, Jun 20, 2011 at 00:14, Steven Sroka wrote: > Hi everyone, > > Does anyone know how to clear the contents of a QLineEdit when a user > sets focus to it (ie. clicks it, presses the tab key repeatedly, > etc.)? Subclass KLineEdit (which you`re using instead of QLineWidget, right?) and reimple

Clearing a QLineEdit

2011-06-19 Thread Steven Sroka
Hi everyone, Does anyone know how to clear the contents of a QLineEdit when a user sets focus to it (ie. clicks it, presses the tab key repeatedly, etc.)? >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Marko Käning
> It would be great if you could please submit a > bug report with a backtrace and description on how to reproduce on > bugs.kde.org, and it would be best if we could continue this > discussion there so we don't pollute this mailing list with a single > bug. Use "kdelibs" as target and "kdeui" as c

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Teo Mrnjavac
On Sun, Jun 19, 2011 at 18:00, Marko Käning wrote: > Here it wasn't even necessary to enter the Authors tab, Dolphin crashed > before the dialog could be shown. :-( > > The same happens with kwrite, kate, lokalize… > > Ok, thank you for your feedback. So, let's try and dig deeper to fix this... 1

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Marko Käning
I realized that I hadn't set the path to the libs correctly in the previous test, which is why the about dialog crashed immediately. Now I have resurrected the previous state, I see the about dialog and I can select the author tab in there. Here is what lokalize told me now when selecting Autho

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Marko Käning
> Here it wasn't even necessary to enter the Authors tab, Dolphin crashed > before the dialog could be shown. :-( The same happens with kwrite, kate, lokalize… >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Marko Käning
In the meantime I used KNS from http://techbase.kde.org/Development/Tutorials/Collaboration/HotNewStuff/Introduction (with a few little corrections) and made it build and run. It runs fine, I can see the wallpaper images no problem. On pressing the close button the app finishes normally without a

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Teo Mrnjavac
On Sun, Jun 19, 2011 at 16:16, Marko Käning wrote: > Hi Teo, > > Thanks for your response! > >> I do have an idea, not sure if it's actually a good one... >> Could you please check if it happens with any item view that uses >> KWidgetItemDelegate, like a KNewStuff3 item view? > > if I only knew ho

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Marko Käning
Hi Teo, Thanks for your response! > I do have an idea, not sure if it's actually a good one... > Could you please check if it happens with any item view that uses > KWidgetItemDelegate, like a KNewStuff3 item view? if I only knew how to modify my code at https://bitbucket.org/mkae/kde-t

Re: Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Teo Mrnjavac
On Sun, Jun 19, 2011 at 15:28, Marko Käning wrote: > Hi KDE-developers, > > I've found a crash on Mac OS X. [1] > > When an app has an about dialog available which includes at least one author > added using addAuthor() the application will crash as described originally in > [2]. > > All one need

Crashing AboutDialogBox due to addAuthor() on MacOSX

2011-06-19 Thread Marko Käning
Hi KDE-developers, I've found a crash on Mac OS X. [1] When an app has an about dialog available which includes at least one author added using addAuthor() the application will crash as described originally in [2]. All one needs to do is to open the about dialog from Mac OSX' global menu and