[users] Misc cleanups

- unused includes
- avoid "my--pc" .. the dash is inserted by makeHostnameSuggestion()
main
Adriaan de Groot 5 years ago
parent 9018913af5
commit 0813ec3327

@ -221,7 +221,7 @@ guessProductName()
}
if ( dmiProduct.isEmpty() )
{
dmiProduct = QStringLiteral( "-pc" );
dmiProduct = QStringLiteral( "pc" );
}
tried = true;
}

@ -43,8 +43,6 @@
#include <QFile>
#include <QLabel>
#include <QLineEdit>
#include <QRegExp>
#include <QRegExpValidator>
/** @brief How bad is the error for labelError() ? */
enum class Badness

Loading…
Cancel
Save