Skip to content

Commit

Permalink
Test for Windows :(
Browse files Browse the repository at this point in the history
Signed-off-by: Martin <[email protected]>
  • Loading branch information
Ho-Ro committed Apr 8, 2022
1 parent beae514 commit 4f2a4e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openhantek/src/OH_BUILD.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Do not edit, will be re-created at each commit!
#define OH_BUILD "20220408 - commit 996"
#define OH_BUILD "20220408 - commit 997"
3 changes: 2 additions & 1 deletion openhantek/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,8 @@ void MainWindow::screenShot( screenshotType_t screenshotType, bool autoSafe ) {
bool MainWindow::openDocument( QString docName ) {
QUrl url;
if ( QFile( DocPath + docName ).exists() )
url = QUrl( DocPath + docName );
url = QUrl::fromLocalFile( QFileInfo( DocPath + docName ).absoluteFilePath() );
// url = QUrl::fromLocalFile( DocPath + docName );
else
url = QUrl( DocUrl + docName );
if ( verboseLevel > 2 )
Expand Down

0 comments on commit 4f2a4e3

Please sign in to comment.