[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdebase/workspace/krunner/interfaces/default
From: Jacopo De Simoi <wilderkde () gmail ! com>
Date: 2009-03-23 16:07:29
Message-ID: 1237824449.384964.22784.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 943288 by jacopods:
+ use of the newly introduced signal userTextChanged
+ backporting some cosmetic improvement by notmart
M +3 -4 interface.cpp
--- branches/KDE/4.2/kdebase/workspace/krunner/interfaces/default/interface.cpp #943287:943288
@@ -53,7 +53,7 @@
#include "interfaces/default/resultscene.h"
#include "interfaces/default/resultitem.h"
-static const int MIN_WIDTH = 400;
+static const int MIN_WIDTH = 420;
Interface::Interface(Plasma::RunnerManager *runnerManager, QWidget *parent)
: KRunnerDialog(runnerManager, parent),
@@ -190,7 +190,7 @@
m_layout->addWidget(m_resultsView);
- connect(m_searchTerm, SIGNAL(editTextChanged(QString)), this, SLOT(queryTextEdited(QString)));
+ connect(lineEdit, SIGNAL(userTextChanged(QString)), this, SLOT(queryTextEdited(QString)));
connect(m_searchTerm, SIGNAL(returnPressed()), this, SLOT(runDefaultResultItem()));
themeUpdated();
@@ -354,9 +354,8 @@
m_resultsView->hide();
m_dividerLine->hide();
setMinimumSize(QSize(MIN_WIDTH, 0));
- adjustSize();
//kDebug() << size() << minimumSizeHint();
- resize(minimumSizeHint());
+ resize(qMax(minimumSizeHint().width(), MIN_WIDTH), minimumSizeHint().height()+1);
}
void Interface::setStaticQueryMode(bool staticQuery)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic