Commit 124c9480 authored by ivoire's avatar ivoire

Really kill reallocations.

parent 6b45f1bb
......@@ -211,10 +211,10 @@ void InterfacePreviewWidget::setPreview( int comboid )
/* Need to move resources references as soon as qt4.cpp
local defines has been moved somewhere else
*/
const char pixmaps[][28] = { ":/prefsmenu/sample_classic",
":/prefsmenu/sample_complete",
":/prefsmenu/sample_minimal",
":/prefsmenu/sample_skins" };
static const char pixmaps[][28] = { ":/prefsmenu/sample_classic",
":/prefsmenu/sample_complete",
":/prefsmenu/sample_minimal",
":/prefsmenu/sample_skins" };
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