On Sun, 27, Jul, 2003 at 02:19:31AM +0200, Guillaume Laurent spoke thus..
> On Saturday 26 July 2003 17:04, Mark Hymers wrote:
> > Yes. Does this seem a reasonable way of doing it? (it doesn't add any
> > extra space to the Segment parameter box)
>
> Yep. Applied, thanks again :-).
No problem.
I noticed you changed it from using QInputDialog to KLineEdit which
makes sense. The attached patch therefore adjusts the Edit Document
Properties Add Colour routine to use KLineEdit as well.
Mark
--
Mark Hymers <markh at linuxfromscratch dot org>
"I've had people claim that they actually make the sun rise rise every
morning. I've offered to test them by shooting them. So far all these
people have not responded to my endeavours."
James Randi on BBCi Live Chat
Index: gui/rosegardenconfiguredialog.cpp
===================================================================
RCS file: /cvsroot/rosegarden/gui/rosegardenconfiguredialog.cpp,v
retrieving revision 1.121
diff -u -p -r1.121 rosegardenconfiguredialog.cpp
--- gui/rosegardenconfiguredialog.cpp 25 Jul 2003 21:54:09 -0000 1.121
+++ gui/rosegardenconfiguredialog.cpp 27 Jul 2003 12:18:24 -0000
@@ -56,6 +56,7 @@
#include <kmessagebox.h>
#include <kprocess.h>
#include <kcolordialog.h>
+#include <klineeditdlg.h>
#include "constants.h"
#include "colours.h"
@@ -1773,8 +1774,9 @@ ColourConfigurationPage::slotAddNew()
bool ok = false;
- QString newName = QInputDialog::getText(i18n("New Color Name"), i18n("Enter new
name"),
- QLineEdit::Normal, i18n("New"), &ok);
+ QString newName = KLineEditDlg::getText(i18n("New Color Name"), i18n("Enter new
name"),
+ i18n("New"), &ok);
+
if ((ok == true) && (!newName.isEmpty()))
{
KColorDialog box(this, "", true);