r16611 by fschmid - Set object name for the QDockWidget correctly (Important for QMainWindow::saveState()).

scribus-commit scribus-commit at lists.scribus.net
Sun May 1 08:03:07 UTC 2011


Author: fschmid
Date: Sun May  1 08:03:07 2011
New Revision: 16611

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16611
Log:
Set object name for the QDockWidget correctly (Important for QMainWindow::saveState()).

Modified:
    trunk/Scribus/scribus/ui/scdockpalette.cpp

Modified: trunk/Scribus/scribus/ui/scdockpalette.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16611&path=/trunk/Scribus/scribus/ui/scdockpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/scdockpalette.cpp (original)
+++ trunk/Scribus/scribus/ui/scdockpalette.cpp Sun May  1 08:03:07 2011
@@ -68,6 +68,7 @@
 	setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
 	setWindowIcon(loadIcon("AppIcon.png"));
 	setPrefsContext(prefsContext);
+	setObjectName(prefsContext);
 	connect(PrefsManager::instance(), SIGNAL(prefsChanged()), this, SLOT(setFontSize()));
 }
 




More information about the scribus-commit mailing list