Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/x11_platform.cpp
Show First 20 Lines • Show All 552 Lines • ▼ Show 20 Line(s) | 552 | { | |||
---|---|---|---|---|---|
553 | return m_outputs; | 553 | return m_outputs; | ||
554 | } | 554 | } | ||
555 | 555 | | |||
556 | Outputs X11StandalonePlatform::enabledOutputs() const | 556 | Outputs X11StandalonePlatform::enabledOutputs() const | ||
557 | { | 557 | { | ||
558 | return m_outputs; | 558 | return m_outputs; | ||
559 | } | 559 | } | ||
560 | 560 | | |||
561 | bool X11StandalonePlatform::canLoad() | ||||
562 | { | ||||
563 | // basically, repeat check from init() function | ||||
564 | if (!QX11Info::isPlatformX11()) { | ||||
565 | return false; | ||||
566 | } | ||||
567 | return true; | ||||
568 | } | ||||
569 | | ||||
561 | } | 570 | } |