From: | "Alex Alexander (wired)" <wired@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-themes/qgtkstyle/files: main.cpp |
Date: | Wed, 02 Mar 2011 01:00:37 |
Message-Id: | 20110302010027.6D7972004B@flycatcher.gentoo.org |
1 | wired 11/03/02 01:00:27 |
2 | |
3 | Modified: main.cpp |
4 | Log: |
5 | version bump, renamed style to GTK+, removed old |
6 | |
7 | (Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 x11-themes/qgtkstyle/files/main.cpp |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/files/main.cpp?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/files/main.cpp?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/files/main.cpp?r1=1.1&r2=1.2 |
15 | |
16 | Index: main.cpp |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/x11-themes/qgtkstyle/files/main.cpp,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- main.cpp 13 Nov 2010 20:36:00 -0000 1.1 |
23 | +++ main.cpp 2 Mar 2011 01:00:27 -0000 1.2 |
24 | @@ -37,12 +37,12 @@ |
25 | |
26 | QStyle *QGtkStylePlugin::create(const QString &key) |
27 | { |
28 | - return (key.toLower() == "gtk") ? new QGtkStyle : 0; |
29 | + return (key.toLower() == "gtk+") ? new QGtkStyle : 0; |
30 | } |
31 | |
32 | QStringList QGtkStylePlugin::keys() const |
33 | { |
34 | - return QStringList() << "GTK"; |
35 | + return QStringList() << "GTK+"; |
36 | } |
37 | |
38 | Q_EXPORT_PLUGIN2(qgtkstyle, QGtkStylePlugin) |