Commit 30d7534d authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: kill some reallocations.

parent e222f54c
...@@ -211,10 +211,10 @@ void InterfacePreviewWidget::setPreview( int comboid ) ...@@ -211,10 +211,10 @@ void InterfacePreviewWidget::setPreview( int comboid )
/* Need to move resources references as soon as qt4.cpp /* Need to move resources references as soon as qt4.cpp
local defines has been moved somewhere else local defines has been moved somewhere else
*/ */
const char * pixmaps[] = { ":/prefsmenu/sample_classic", const char pixmaps[][28] = { ":/prefsmenu/sample_classic",
":/prefsmenu/sample_complete", ":/prefsmenu/sample_complete",
":/prefsmenu/sample_minimal", ":/prefsmenu/sample_minimal",
":/prefsmenu/sample_skins" }; ":/prefsmenu/sample_skins" };
setPixmap( QPixmap( pixmaps[ comboid ] ) ); setPixmap( QPixmap( pixmaps[ comboid ] ) );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment