Commit 5920cdf9 authored by Martin Koller's avatar Martin Koller

change size policy avoiding endless stretching of combobox

parent 170ce96d
...@@ -104,7 +104,7 @@ CommitDialog::CommitDialog(KConfig& cfg, OrgKdeCervisia5CvsserviceCvsserviceInte ...@@ -104,7 +104,7 @@ CommitDialog::CommitDialog(KConfig& cfg, OrgKdeCervisia5CvsserviceCvsserviceInte
archivelabel->setBuddy(combo); archivelabel->setBuddy(combo);
connect( combo, SIGNAL(activated(int)), this, SLOT(comboActivated(int)) ); connect( combo, SIGNAL(activated(int)), this, SLOT(comboActivated(int)) );
// make sure that combobox is smaller than the screen // make sure that combobox is smaller than the screen
combo->setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed)); combo->setSizePolicy(QSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed));
QLabel *messagelabel = new QLabel(i18n("&Log message:")); QLabel *messagelabel = new QLabel(i18n("&Log message:"));
mainLayout->addWidget(messagelabel); mainLayout->addWidget(messagelabel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment