]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Initialize the name-label widget with a maximum size. This is important, otherwise...
authorPeter Penz <peter.penz19@gmail.com>
Wed, 15 Apr 2009 18:01:37 +0000 (18:01 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 15 Apr 2009 18:01:37 +0000 (18:01 +0000)
BUG: 189596

svn path=/trunk/KDE/kdebase/apps/; revision=954371

src/panels/information/informationpanel.cpp

index 8fd29651a134c93c8c126bce31cc9eee72f7ddc3..041f540ccf854c039a22acdaf0f540392a0a5f21 100644 (file)
@@ -740,6 +740,7 @@ void InformationPanel::init()
     m_nameLabel->setFont(font);
     m_nameLabel->setAlignment(Qt::AlignHCenter);
     m_nameLabel->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
+    m_nameLabel->setMaximumWidth(KIconLoader::SizeEnormous);
 
     // preview
     m_preview = new PixmapViewer(this);