Changeset View
Changeset View
Standalone View
Standalone View
kdecoration/config/breezedetectwidget.cpp
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 80 | { | |||
---|---|---|---|---|---|
94 | 94 | | |||
95 | const QString wmClassClass( QString::fromUtf8( m_info->windowClassClass() ) ); | 95 | const QString wmClassClass( QString::fromUtf8( m_info->windowClassClass() ) ); | ||
96 | const QString wmClassName( QString::fromUtf8( m_info->windowClassName() ) ); | 96 | const QString wmClassName( QString::fromUtf8( m_info->windowClassName() ) ); | ||
97 | 97 | | |||
98 | m_ui.windowClass->setText( QStringLiteral( "%1 (%2 %3)" ).arg( wmClassClass ).arg( wmClassName ).arg( wmClassClass ) ); | 98 | m_ui.windowClass->setText( QStringLiteral( "%1 (%2 %3)" ).arg( wmClassClass ).arg( wmClassName ).arg( wmClassClass ) ); | ||
99 | m_ui.windowTitle->setText( m_info->name() ); | 99 | m_ui.windowTitle->setText( m_info->name() ); | ||
100 | emit detectionDone( exec() == QDialog::Accepted ); | 100 | emit detectionDone( exec() == QDialog::Accepted ); | ||
101 | 101 | | |||
102 | return; | | |||
103 | | ||||
104 | } | 102 | } | ||
105 | 103 | | |||
106 | //_________________________________________________________ | 104 | //_________________________________________________________ | ||
107 | void DetectDialog::selectWindow() | 105 | void DetectDialog::selectWindow() | ||
108 | { | 106 | { | ||
109 | 107 | | |||
110 | // use a dialog, so that all user input is blocked | 108 | // use a dialog, so that all user input is blocked | ||
111 | // use WX11BypassWM and moving away so that it's not actually visible | 109 | // use WX11BypassWM and moving away so that it's not actually visible | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |