[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/forms/widgets
From: Jarosław Staniek <staniek () kde ! org>
Date: 2009-09-15 18:21:44
Message-ID: 1253038904.748470.22079.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1023976 by staniek:
Forms
* use "image-x-generic" icon for imagebox instead of hardcoded one
M +2 -1 kexidbimagebox.cpp
--- trunk/koffice/kexi/plugins/forms/widgets/kexidbimagebox.cpp #1023975:1023976
@@ -709,7 +709,8 @@
if (!KexiDBImageBox_static->pixmap) {
const QString fname(KStandardDirs::locate("data", \
QLatin1String("kexi/pics/imagebox.png")));
- QPixmap pm(fname, "PNG");
+ QPixmap pm( KIconLoader::global()->loadMimeTypeIcon(
+ "image-x-generic", KIconLoader::NoGroup, KIconLoader::SizeLarge, \
KIconLoader::DisabledState) ); if (!pm.isNull()) {
KIconEffect::semiTransparent(pm);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic