diff options
Diffstat (limited to 'certmanager/lib/ui/keyapprovaldialog.cpp')
-rw-r--r-- | certmanager/lib/ui/keyapprovaldialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/certmanager/lib/ui/keyapprovaldialog.cpp b/certmanager/lib/ui/keyapprovaldialog.cpp index afad1fb8e..706c4d9cb 100644 --- a/certmanager/lib/ui/keyapprovaldialog.cpp +++ b/certmanager/lib/ui/keyapprovaldialog.cpp @@ -51,7 +51,7 @@ #include <tqstringlist.h> #include <tqframe.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqcombobox.h> #include <tqscrollview.h> @@ -170,8 +170,8 @@ Kleo::KeyApprovalDialog::KeyApprovalDialog( const std::vector<Item> & recipients // calculate the optimal width for the dialog const int dialogWidth = marginHint() + sv->frameWidth() - + view->tqsizeHint().width() - + sv->verticalScrollBar()->tqsizeHint().width() + + view->sizeHint().width() + + sv->verticalScrollBar()->sizeHint().width() + sv->frameWidth() + marginHint() + 2; @@ -180,11 +180,11 @@ Kleo::KeyApprovalDialog::KeyApprovalDialog( const std::vector<Item> & recipients + fontMetrics().height() + spacingHint() + sv->frameWidth() - + view->tqsizeHint().height() - + sv->horizontalScrollBar()->tqsizeHint().height() + + view->sizeHint().height() + + sv->horizontalScrollBar()->sizeHint().height() + sv->frameWidth() + spacingHint() - + actionButton( KDialogBase::Cancel )->tqsizeHint().height() + + actionButton( KDialogBase::Cancel )->sizeHint().height() + marginHint() + 2; |