public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xconfig: Change the titlebar if using Qt3
Date: Thu, 2 Sep 2010 18:52:39 +0200	[thread overview]
Message-ID: <201009021852.40023.alexander.stein@informatik.tu-chemnitz.de> (raw)
In-Reply-To: <1283355997-6900-1-git-send-email-mmarek@suse.cz>

Hello Marek,

On Wednesday 01 September 2010 17:46:37 Michal Marek wrote:
> Qt4 is now used by default and will get more testing. In case someone
> still uses Qt3 and reports a bug, make it easy to recognize that this is
> Qt3.
> 
> Cc: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
> Signed-off-by: Michal Marek <mmarek@suse.cz>
> ---
>  scripts/kconfig/qconf.cc |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
> index 88d3874..a04e451 100644
> --- a/scripts/kconfig/qconf.cc
> +++ b/scripts/kconfig/qconf.cc
> @@ -1274,8 +1274,14 @@ ConfigMainWindow::ConfigMainWindow(void)
>  	char title[256];
> 
>  	QDesktopWidget *d = configApp->desktop();
> -	snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"),
> -		getenv("KERNELVERSION"));
> +	snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration%s"),
> +		getenv("KERNELVERSION"),
> +#if QT_VERSION < 0x040000
> +		" (Qt3)"
> +#else
> +		""
> +#endif
> +		);
>  	setCaption(title);
> 
>  	width = configSettings->readNumEntry("/window width", d->width() - 64);

Looks fine to me.

Best regards,
Alexander

  reply	other threads:[~2010-09-02 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 15:46 [PATCH] xconfig: Change the titlebar if using Qt3 Michal Marek
2010-09-02 16:52 ` Alexander Stein [this message]
2010-09-06 11:32   ` Michal Marek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201009021852.40023.alexander.stein@informatik.tu-chemnitz.de \
    --to=alexander.stein@informatik.tu-chemnitz.de \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox