Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 463174
Collapse All | Expand All

(-)a/ksmserver/shutdowndlg.cpp (+8 lines)
Lines 259-264 KSMShutdownDlg::KSMShutdownDlg( QWidget* parent, Link Here
259
    adjustSize();
259
    adjustSize();
260
}
260
}
261
261
262
bool KSMShutdownDlg::eventFilter ( QObject * watched, QEvent * event )
263
{
264
    if (watched == m_view && event->type() == QEvent::Resize) {
265
        adjustSize();
266
    }
267
    return QDialog::eventFilter(watched, event);
268
}
269
262
void KSMShutdownDlg::resizeEvent(QResizeEvent *e)
270
void KSMShutdownDlg::resizeEvent(QResizeEvent *e)
263
{
271
{
264
    QDialog::resizeEvent( e );
272
    QDialog::resizeEvent( e );
(-)a/ksmserver/shutdowndlg.h (-1 / +1 lines)
Lines 79-84 class KSMShutdownDlg : public QDialog Link Here
79
public:
79
public:
80
    static bool confirmShutdown(
80
    static bool confirmShutdown(
81
            bool maysd, bool choose, KWorkSpace::ShutdownType& sdtype, QString& bopt, const QString& theme );
81
            bool maysd, bool choose, KWorkSpace::ShutdownType& sdtype, QString& bopt, const QString& theme );
82
    bool eventFilter( QObject* watched, QEvent* event );
82
83
83
public Q_SLOTS:
84
public Q_SLOTS:
84
    void slotLogout();
85
    void slotLogout();
85
- 

Return to bug 463174