Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts: kio/kfile/kfilemetadatareaderprocess.cpp
This commit is contained in:
commit
5727ade508
@ -24,7 +24,7 @@ Comment[fi]=Skriptauskielituki Plasmalle
|
|||||||
Comment[fr]=Langage de script d'extension pour Plasma
|
Comment[fr]=Langage de script d'extension pour Plasma
|
||||||
Comment[fy]=Scripting taal taheaksel foar Plasma
|
Comment[fy]=Scripting taal taheaksel foar Plasma
|
||||||
Comment[ga]=Eisínteacht teanga scriptithe le haghaidh Plasma
|
Comment[ga]=Eisínteacht teanga scriptithe le haghaidh Plasma
|
||||||
Comment[gl]=Engadido de linguaxe de scripts para o Plasma
|
Comment[gl]=Extensión de linguaxe de scripts para o Plasma
|
||||||
Comment[gu]=પ્લાઝમા માટે સ્ક્રિપ્ટીંગ ભાષા એક્સટેન્શન
|
Comment[gu]=પ્લાઝમા માટે સ્ક્રિપ્ટીંગ ભાષા એક્સટેન્શન
|
||||||
Comment[he]=הרחבת שפת תסריטים של Plasma
|
Comment[he]=הרחבת שפת תסריטים של Plasma
|
||||||
Comment[hne]=प्लाज्मा बर स्क्रिप्टिंग भाखा
|
Comment[hne]=प्लाज्मा बर स्क्रिप्टिंग भाखा
|
||||||
|
@ -335,10 +335,10 @@ void DataEngine::removeAllSources()
|
|||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
it.next();
|
it.next();
|
||||||
Plasma::DataContainer *s = it.value();
|
Plasma::DataContainer *s = it.value();
|
||||||
emit sourceRemoved(it.key());
|
|
||||||
it.remove();
|
it.remove();
|
||||||
s->disconnect(this);
|
s->disconnect(this);
|
||||||
delete s;
|
s->deleteLater();
|
||||||
|
emit sourceRemoved(it.key());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -693,6 +693,7 @@ void DataEnginePrivate::sourceDestroyed(QObject *object)
|
|||||||
while (it != sources.end()) {
|
while (it != sources.end()) {
|
||||||
if (it.value() == object) {
|
if (it.value() == object) {
|
||||||
sources.erase(it);
|
sources.erase(it);
|
||||||
|
emit q->sourceRemoved(object->objectName());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
++it;
|
++it;
|
||||||
|
@ -165,12 +165,14 @@ void PopupApplet::setGraphicsWidget(QGraphicsWidget *graphicsWidget)
|
|||||||
if (d->graphicsWidget) {
|
if (d->graphicsWidget) {
|
||||||
if (d->dialogPtr) {
|
if (d->dialogPtr) {
|
||||||
d->dialogPtr.data()->setGraphicsWidget(graphicsWidget);
|
d->dialogPtr.data()->setGraphicsWidget(graphicsWidget);
|
||||||
} else {
|
} else if (layout()) {
|
||||||
QGraphicsLinearLayout *lay = static_cast<QGraphicsLinearLayout *>(layout());
|
QGraphicsLinearLayout *lay = static_cast<QGraphicsLinearLayout *>(layout());
|
||||||
lay->removeAt(0);
|
lay->removeAt(0);
|
||||||
|
if (graphicsWidget) {
|
||||||
lay->addItem(graphicsWidget);
|
lay->addItem(graphicsWidget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
d->graphicsWidget = graphicsWidget;
|
d->graphicsWidget = graphicsWidget;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user