minor housecleaning bits: double click in applet dialog works now; put back lines for what the center background painting *shoudl* be were it not for QSvgRenderer being buggy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728613
This commit is contained in:
parent
1db6f236e7
commit
c810963a94
@ -268,6 +268,9 @@ public:
|
||||
p.drawTiledPixmap(QRect(contentLeft, bottomOffset, contentWidth, bottomHeight), bottom);
|
||||
}
|
||||
|
||||
// re-enable this once Qt's svg rendering is un-buggered
|
||||
//background->resize(contentWidth, contentHeight);
|
||||
//background->paint(&p, QRect(contentLeft, contentTop, contentWidth, contentHeight), "center");
|
||||
}
|
||||
|
||||
p2->drawPixmap(leftOffset, topOffset, *cachedBackground);
|
||||
|
@ -56,8 +56,6 @@ public:
|
||||
|
||||
PlasmaAppletItemModel itemModel;
|
||||
KCategorizedItemsViewModels::DefaultFilterModel filterModel;
|
||||
|
||||
|
||||
};
|
||||
|
||||
AppletBrowser::AppletBrowser(Plasma::Corona * corona, QWidget * parent, Qt::WindowFlags f)
|
||||
@ -77,6 +75,7 @@ AppletBrowser::AppletBrowser(Plasma::Containment * containment, QWidget * parent
|
||||
void AppletBrowser::init()
|
||||
{
|
||||
d->appletList = new KCategorizedItemsView(this);
|
||||
connect(d->appletList, SIGNAL(activated(const QModelIndex &)), this, SLOT(addApplet()));
|
||||
setMainWidget(d->appletList);
|
||||
|
||||
setWindowTitle("Add Applets");
|
||||
@ -101,7 +100,7 @@ void AppletBrowser::init()
|
||||
while (i.hasNext()) {
|
||||
i.next();
|
||||
if (!rx.exactMatch(i.key())) continue;
|
||||
kDebug() << "These are the key/vals in rc file " << rx.cap(1) << "\n";
|
||||
//kDebug() << "These are the key/vals in rc file " << rx.cap(1) << "\n";
|
||||
|
||||
QString id = rx.cap(1);
|
||||
QString caption = d->configGroup.readEntry("recommended." + id + ".caption");
|
||||
|
Loading…
Reference in New Issue
Block a user