Commit 93ec60f4 authored by Sergio Luis Martins's avatar Sergio Luis Martins
Browse files

SVN_SILENT

Partial merge of 1132719.

Only actionmanager missing.

svn path=/branches/work/kdepim_kcalcore/korganizer/; revision=1158312
parent 45bf7a4b
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <kcalprefs.h> #include <kcalprefs.h>
#include <QBoxLayout> #include <QBoxLayout>
#include <QStyle>
using namespace Akonadi; using namespace Akonadi;
using namespace KOrg; using namespace KOrg;
...@@ -525,4 +526,11 @@ KOrg::CalPrinterBase::PrintType KOListView::printType() ...@@ -525,4 +526,11 @@ KOrg::CalPrinterBase::PrintType KOListView::printType()
return KOrg::CalPrinterBase::Incidence; return KOrg::CalPrinterBase::Incidence;
} }
QSize KOListView::sizeHint() const
{
const QSize s = KOEventView::sizeHint();
return QSize( s.width() + style()->pixelMetric( QStyle::PM_ScrollBarExtent ) + 1,
s.height() );
}
#include "kolistview.moc" #include "kolistview.moc"
...@@ -86,6 +86,7 @@ class KOListView : public KOEventView ...@@ -86,6 +86,7 @@ class KOListView : public KOEventView
void writeSettings( KConfig *config ); void writeSettings( KConfig *config );
void clear(); void clear();
QSize sizeHint() const;
virtual KOrg::CalPrinterBase::PrintType printType(); virtual KOrg::CalPrinterBase::PrintType printType();
public slots: public slots:
......
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