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),
|
||||
switchWidth(-1),
|
||||
switchHeight(-1),
|
||||
initComplete(false),
|
||||
applet(a),
|
||||
expanded(false),
|
||||
activationTogglesExpanded(false)
|
||||
activationTogglesExpanded(false),
|
||||
initComplete(false)
|
||||
{
|
||||
if (s_preloadPolicy == Uninitialized) {
|
||||
//default as Adaptive
|
||||
|
@ -35,8 +35,8 @@
|
||||
|
||||
DropMenu::DropMenu(KIO::DropJob *dropJob, const QPoint &dropPoint, ContainmentInterface *parent)
|
||||
: QObject(parent),
|
||||
m_dropJob(dropJob),
|
||||
m_dropPoint(dropPoint)
|
||||
m_dropPoint(dropPoint),
|
||||
m_dropJob(dropJob)
|
||||
{
|
||||
if (!dropJob) {
|
||||
m_menu = new QMenu(i18n("Content dropped"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user