~ubuntu-branches/ubuntu/trusty/krusader/trusty

« back to all changes in this revision

Viewing changes to krusader/Panel/urlrequester.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-08-08 13:47:36 UTC
  • mfrom: (1.2.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110808134736-8e630ivgd2c3sgg5
Tags: 1:2.4.0~beta1-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
#include "urlrequester.h"
20
20
 
 
21
#include "../defaults.h"
21
22
#include "../krglobal.h"
22
23
 
23
24
#include <KLineEdit>
70
71
{
71
72
    setMinimumHeight(sizeHint().height());
72
73
 
73
 
    if(KConfigGroup(krConfig, "Look&Feel").readEntry("FlatOriginBar", false)) {
 
74
    if(KConfigGroup(krConfig, "Look&Feel").readEntry("FlatOriginBar", _FlatOriginBar)) {
74
75
        _path = new PathLabel(this, le);
75
76
        _path->setCursor(Qt::IBeamCursor);
76
77
        le->hide();
106
107
 
107
108
void UrlRequester::slotTextChanged(const QString &text) {
108
109
    if(_path)
109
 
        _path->setText(" " + text + " ");
 
110
        _path->setText(' ' + text + ' ');
110
111
}