From 4f571c38e03269abeb1a127d5fe9f574148e2730 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 10 Apr 2009 04:59:15 +0000 Subject: [PATCH] (qt) fix bug that corrupted the main-window-layout-order key in prefs. Reported by Rolcol --- qt/prefs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/prefs.cc b/qt/prefs.cc index 514459a8c..0d3be38fb 100644 --- a/qt/prefs.cc +++ b/qt/prefs.cc @@ -49,7 +49,7 @@ Prefs::PrefItem Prefs::myItems[] = { TOOLBAR, "show-toolbar" , QVariant::Bool }, { BLOCKLIST_DATE, "blocklist-date", QVariant::DateTime }, { BLOCKLIST_UPDATES_ENABLED, "blocklist-updates-enabled" , QVariant::Bool }, - { MAIN_WINDOW_LAYOUT_ORDER, "main-window-layout-order", QVariant::Int }, + { MAIN_WINDOW_LAYOUT_ORDER, "main-window-layout-order", QVariant::String }, { MAIN_WINDOW_HEIGHT, "main-window-height", QVariant::Int }, { MAIN_WINDOW_WIDTH, "main-window-width", QVariant::Int }, { MAIN_WINDOW_X, "main-window-x", QVariant::Int },