Fixed #3, options weren't passed in readme example

This commit is contained in:
Rick Blommers 2014-04-15 11:44:12 +02:00
parent 139d249f30
commit 34ca5976c1

View File

@ -56,7 +56,7 @@ QPushButton* coffeeButton new QPushButton( awesome->icon( "coffee" ), "Black ple
QVariantMap options;
options.insert( "color" , QColor(255,0,0) );
QPushButton* musicButton = new QPushButton( awesome->icon( icon_music ), "Music" );
QPushButton* musicButton = new QPushButton( awesome->icon( icon_music, options ), "Music" );
// You can also change the default options.
// for example if you always would like to have green icons you could call)