[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kicker/extensions/dockbar
From:       John Firebaugh <jfirebaugh () kde ! org>
Date:       2003-04-15 3:41:39
[Download RAW message or body]

CVS commit by firebaugh: 

Forward port link fix.


  M +14 -20    dockcontainer.cpp   1.6


--- kdebase/kicker/extensions/dockbar/dockcontainer.cpp  #1.5:1.6
@@ -147,9 +147,4 @@ bool DockContainer::x11Event( XEvent *e 
 void DockContainer::askNewCommand(bool bad_command)
 {
-    struct ValidateAll : public QValidator {
-        ValidateAll( QWidget *parent ) : QValidator(parent) {}
-        enum QValidator::State validate(QString&, int&) const { return QValidator::Acceptable; }
-    };
-
     bool ok;
     QString title( i18n("enter command line for applet %1.%2").arg(resName()).arg(resClass()) );
@@ -157,5 +152,4 @@ void DockContainer::askNewCommand(bool b
                               "the command line necessary to launch it on next startup of KDE") );
     QString cmd;
-    ValidateAll v(this);
 
     /*
@@ -165,8 +159,8 @@ void DockContainer::askNewCommand(bool b
     if (bad_command) {
         cmd = KLineEditDlg::getText( title, description,
-                                     command(), &ok, this, &v);
+                                     command(), &ok, this );
     } else {
         cmd = KLineEditDlg::getText( title, "",
-                                     command(), &ok, this, &v);
+                                     command(), &ok, this );
     }
     if (ok) { _command = cmd; emit settingsChanged(this); }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic