Skip to content

Commit

Permalink
Feature/detect no rm2fb (#185)
Browse files Browse the repository at this point in the history
Fix #173
  • Loading branch information
Eeems authored Mar 27, 2021
1 parent 02a4eb0 commit e433b83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 67 deletions.
67 changes: 0 additions & 67 deletions applications/screenshot-viewer/widgets/SwipeArea.qml

This file was deleted.

4 changes: 4 additions & 0 deletions applications/system-service/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ void sigHandler(int signal){
}

int main(int argc, char *argv[]){
if(deviceSettings.getDeviceType() == DeviceSettings::RM2 && getenv("RM2FB_ACTIVE") == nullptr){
qWarning() << "rm2fb not detected. Running xochitl instead!";
return QProcess::execute("/usr/bin/xochitl");
}
if (strcmp(qt_version, QT_VERSION_STR) != 0){
qDebug() << "Version mismatch, Runtime: " << qt_version << ", Build: " << QT_VERSION_STR;
}
Expand Down

0 comments on commit e433b83

Please sign in to comment.