Commit 4fe1c33f authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Rémi Duraffort

move pointer to .rodata

Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 1d698d0f
......@@ -214,9 +214,9 @@ void InterfacePreviewWidget::setPreview( int comboid )
/* Need to move resources references as soon as qt4.cpp
local defines has been moved somewhere else
*/
char * pixmaps[] = { ":/prefsmenu/sample_classic",
":/prefsmenu/sample_complete",
":/prefsmenu/sample_minimal" };
const char * pixmaps[] = { ":/prefsmenu/sample_classic",
":/prefsmenu/sample_complete",
":/prefsmenu/sample_minimal" };
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