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

List:       kde-commits
Subject:    Re: playground/base/kat/src/katclient
From:       Lukáš_Tinkl <lukas () kde ! org>
Date:       2005-09-08 9:18:20
Message-ID: 200509081118.21201.lukas () kde ! org
[Download RAW message or body]

Dne st. 7. září 2005 15:52 Laurent Montel napsal(a):
> SVN commit 458193 by mlaurent:
>
> Inform when we don't find a files
>
>
>  M  +4 -1      dlgsearch.cpp
>
>
> --- trunk/playground/base/kat/src/katclient/dlgsearch.cpp #458192:458193
> @@ -33,7 +33,7 @@
>  #include <klineedit.h>
>  #include <kicondialog.h>
>  #include <ktextedit.h>
> -
> +#include <kmessagebox.h>
>  #include "katengine.h"
>
>  #include <qlayout.h>
> @@ -250,6 +250,9 @@
>      results = mf->katEngine()->doSearch( leSearchText->text(), filenames,
> descriptions, fulltexts );
>
>      mf->populateSearchViews( results );
> +    if ( results.count() == 0 )
> +        KMessageBox::information( this, i18n( "Any files found" ) );

No files :)

-- 
Lukáš Tinkl <lukas@kde.org>
KDE developer


The giraffe you thought you offended last week is willing to be nuzzled today.

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

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