mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Show keyboard instructions if no mouse / warning on custom repo
This commit is contained in:
parent
f5390c821a
commit
b34d2a54af
4 changed files with 32 additions and 2 deletions
|
@ -1213,6 +1213,16 @@ QString ImageWriter::detectPiKeyboard()
|
|||
return QString();
|
||||
}
|
||||
|
||||
bool ImageWriter::hasMouse()
|
||||
{
|
||||
return !_embeddedMode || QFile::exists("/dev/input/mouse0");
|
||||
}
|
||||
|
||||
bool ImageWriter::customRepo()
|
||||
{
|
||||
return _repo.toString() != OSLIST_URL;
|
||||
}
|
||||
|
||||
void MountUtilsLog(std::string msg) {
|
||||
Q_UNUSED(msg)
|
||||
//qDebug() << "mountutils:" << msg.c_str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue