r17785 by jghali - fix palette issue in OS X

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 28 22:09:16 UTC 2012


Author: jghali
Date: Fri Sep 28 22:09:16 2012
New Revision: 17785

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17785
Log:
fix palette issue in OS X

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

Modified: trunk/Scribus/scribus/ui/scdockpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17785&path=/trunk/Scribus/scribus/ui/scdockpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/scdockpalette.cpp (original)
+++ trunk/Scribus/scribus/ui/scdockpalette.cpp Fri Sep 28 22:09:16 2012
@@ -41,7 +41,11 @@
 
 
 ScDockPalette::ScDockPalette( QWidget * parent, const QString& prefsContext, Qt::WFlags f)
+#ifdef Q_OS_MAC
+	: QDockWidget ( parent, f | Qt::Tool  | Qt::CustomizeWindowHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint ),
+#else
 	: QDockWidget ( parent, f | Qt::Tool  | Qt::CustomizeWindowHint ),
+#endif
 	palettePrefs(0),
 	prefsContextName(QString::null),
 	visibleOnStartup(false)




More information about the scribus-commit mailing list