From patchwork Wed Sep 1 15:46:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 147151 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o81FkkVm003317 for ; Wed, 1 Sep 2010 15:46:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754295Ab0IAPqq (ORCPT ); Wed, 1 Sep 2010 11:46:46 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54097 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753194Ab0IAPqq (ORCPT ); Wed, 1 Sep 2010 11:46:46 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 4D37B890B6; Wed, 1 Sep 2010 17:46:45 +0200 (CEST) Received: by sepie.suse.cz (Postfix, from userid 10020) id 2D887764FE; Wed, 1 Sep 2010 17:46:44 +0200 (CEST) From: Michal Marek To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH] xconfig: Change the titlebar if using Qt3 Date: Wed, 1 Sep 2010 17:46:37 +0200 Message-Id: <1283355997-6900-1-git-send-email-mmarek@suse.cz> X-Mailer: git-send-email 1.7.1 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Sep 2010 15:47:11 +0000 (UTC) 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);