Use fusion instead of motif.

Change-Id: Ic75ea959ac825efabf0f3a8606dfca4b65fae474
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
Frederik Gladhorn 2012-10-26 10:58:21 +02:00 committed by The Qt Project
parent 53e6cb3ff6
commit a4aa5ea63f
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ int main(int argc, char *argv[])
//! [2]
QStringList arguments;
arguments << "-style" << "motif";
arguments << "-style" << "fusion";
QProcess *myProcess = new QProcess(parent);
myProcess->start(program, arguments);

View File

@ -458,8 +458,8 @@ void QProcessPrivate::Channel::clear()
are supplied as individual strings in a QStringList.
For example, the following code snippet runs the analog clock
example in the Motif style on X11 platforms by passing strings
containing "-style" and "motif" as two items in the list of
example in the Fusion style on X11 platforms by passing strings
containing "-style" and "fusion" as two items in the list of
arguments:
\snippet qprocess/qprocess-simpleexecution.cpp 0