[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() ) if ( dmiProduct.isEmpty() )
{ {
dmiProduct = QStringLiteral( "-pc" ); dmiProduct = QStringLiteral( "pc" );
} }
tried = true; tried = true;
} }

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

Loading…
Cancel
Save