Skip to content

Commit

Permalink
Clean environment variable "QT_QPA_PLATFORM" for DApplication Constru…
Browse files Browse the repository at this point in the history
…ctor

Change-Id: I7bc3f716e941c4d5d96bf801ce704c058c25330c
  • Loading branch information
zccrs committed Oct 19, 2016
1 parent d2ccf18 commit cbcb732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dwidget/widgets/dapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ DApplication::DApplication(int &argc, char **argv) :
QApplication(argc, argv),
DObject(*new DApplicationPrivate(this))
{
qputenv("QT_QPA_PLATFORM", QByteArray());
}

QString DApplication::theme() const
Expand Down

0 comments on commit cbcb732

Please sign in to comment.