]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/metatextlabel.cpp
fix crash when opening a lot of columns and going back very fast by clicking on each...
[dolphin.git] / src / metatextlabel.cpp
index eb8a2873c1605e54e4ef9b8988b498ea3c525b39..f62a9a6a1e2ab06d81b5730bf8533f006e98afea 100644 (file)
@@ -27,7 +27,7 @@
 #include <QLabel>
 
 MetaTextLabel::MetaTextLabel(QWidget* parent) :
-    QGroupBox(i18nc("@title:group", "General"), parent),
+    QWidget(parent),
     m_lines(0),
     m_layout(0)
 {
@@ -81,6 +81,7 @@ void MetaTextLabel::add(const QString& labelText, const QString& infoText)
     info->setWordWrap(true);
 
     QHBoxLayout* layout = new QHBoxLayout(line);
+    layout->setMargin(2);
     layout->addWidget(label, 50);
     layout->addWidget(info, 50);