@@ -1096,11 +1096,15 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
1096
1096
// Info updater
1097
1097
std::function<void ( int )> infoUpdater = [ = ]( int )
1098
1098
{
1099
+ <<<<<<< 1324eff749a7b6102088ab77d27a5df6c6dce919
1099
1100
<<<<<<< 41e7e71db720385195af51c40df201a1aa077b0d
1100
1101
mGPUInfoTextBrowser ->setText ( QgsOpenClUtils::deviceDescription ( mOpenClDevicesCombo ->currentData ().toString () ) );
1101
1102
=======
1102
1103
mGPUInfoLabel ->setText ( QgsOpenClUtils::deviceDescription ( mOpenClDevicesCombo ->currentData ().toString () ) );
1103
1104
>>>>>>> [opencl] Fix device selection on start
1105
+ =======
1106
+ mGPUInfoTextBrowser ->setText ( QgsOpenClUtils::deviceDescription ( mOpenClDevicesCombo ->currentData ().toString () ) );
1107
+ >>>>>>> [opencl] Make opencl info copyable
1104
1108
};
1105
1109
connect ( mOpenClDevicesCombo , qgis::overload< int >::of ( &QComboBox::currentIndexChanged ), infoUpdater );
1106
1110
mOpenClDevicesCombo ->setCurrentIndex ( mOpenClDevicesCombo ->findData ( QgsOpenClUtils::deviceId ( QgsOpenClUtils::activeDevice () ) ) );
@@ -1133,6 +1137,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
1133
1137
else
1134
1138
{
1135
1139
mGPUEnableCheckBox ->setEnabled ( false );
1140
+ <<<<<<< 1324eff749a7b6102088ab77d27a5df6c6dce919
1136
1141
<<<<<<< 12fa896554321892e88ca05407cf125a7ccf92c1
1137
1142
mGPUInfoTextBrowser ->setText ( tr ( " An OpenCL compatible device was not found on your system.<br>"
1138
1143
" You may need to install additional libraries in order to enable OpenCL.<br>"
@@ -1142,6 +1147,11 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
1142
1147
" You may need to install additional libraries in order to enable OpenCL.<br>"
1143
1148
" Please check your logs for further details." ) );
1144
1149
>>>>>>> [opencl] Test with image2d
1150
+ =======
1151
+ mGPUInfoTextBrowser ->setText ( QStringLiteral ( " An OpenCL compatible device was not found on your system.<br>"
1152
+ " You may need to install additional libraries in order to enable OpenCL.<br>"
1153
+ " Please check your logs for further details." ) );
1154
+ >>>>>>> [opencl] Make opencl info copyable
1145
1155
}
1146
1156
1147
1157
0 commit comments