Fix initialization order
Reviewers: #plasma, #frameworks, apol Reviewed By: apol Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D27627
This commit is contained in:
parent
4b93b71a49
commit
1e11099c16
@ -52,10 +52,10 @@ AppletQuickItemPrivate::AppletQuickItemPrivate(Plasma::Applet *a, AppletQuickIte
|
|||||||
: q(item),
|
: q(item),
|
||||||
switchWidth(-1),
|
switchWidth(-1),
|
||||||
switchHeight(-1),
|
switchHeight(-1),
|
||||||
initComplete(false),
|
|
||||||
applet(a),
|
applet(a),
|
||||||
expanded(false),
|
expanded(false),
|
||||||
activationTogglesExpanded(false)
|
activationTogglesExpanded(false),
|
||||||
|
initComplete(false)
|
||||||
{
|
{
|
||||||
if (s_preloadPolicy == Uninitialized) {
|
if (s_preloadPolicy == Uninitialized) {
|
||||||
//default as Adaptive
|
//default as Adaptive
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
DropMenu::DropMenu(KIO::DropJob *dropJob, const QPoint &dropPoint, ContainmentInterface *parent)
|
DropMenu::DropMenu(KIO::DropJob *dropJob, const QPoint &dropPoint, ContainmentInterface *parent)
|
||||||
: QObject(parent),
|
: QObject(parent),
|
||||||
m_dropJob(dropJob),
|
m_dropPoint(dropPoint),
|
||||||
m_dropPoint(dropPoint)
|
m_dropJob(dropJob)
|
||||||
{
|
{
|
||||||
if (!dropJob) {
|
if (!dropJob) {
|
||||||
m_menu = new QMenu(i18n("Content dropped"));
|
m_menu = new QMenu(i18n("Content dropped"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user