Commit e8997fd 1 parent b75c5e8 commit e8997fd Copy full SHA for e8997fd
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1276,7 +1276,7 @@ void MainWindow::encodingChanged( QAction* action )
1276
1276
mib = mibData.toInt ();
1277
1277
}
1278
1278
1279
- LOG_DEBUG << " encodingChanged, encoding " << mib;
1279
+ LOG_DEBUG << " encodingChanged, encoding " << mib. value_or ( 0 ) ;
1280
1280
if ( auto crawler = currentCrawlerWidget () ) {
1281
1281
crawler->setEncoding ( mib );
1282
1282
updateInfoLine ();
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ namespace {
46
46
47
47
#if defined( Q_OS_WIN )
48
48
static constexpr QLatin1String OsSuffix = QLatin1String( " -win" , 4 );
49
- #elif defined( Q_OS_OSX )
49
+ #elif defined( Q_OS_MACOS )
50
50
static constexpr QLatin1String OsSuffix = QLatin1String( " -osx" , 4 );
51
51
#else
52
52
static constexpr QLatin1String OsSuffix = QLatin1String( " -linux" , 6 );
You can’t perform that action at this time.
0 commit comments