fixing nix-shell attempt 1
This commit is contained in:
parent
07e82d7bdf
commit
819627a5a5
3 changed files with 103 additions and 9 deletions
|
@ -60,6 +60,7 @@ static void connectToDatabase() {
|
|||
db.setHostName("localhost");
|
||||
db.setDatabaseName(dbName);
|
||||
db.setUserName("presenter");
|
||||
// TODO change password system before launch
|
||||
db.setPassword("i393jkf782djyr98302j");
|
||||
if (!db.open()) {
|
||||
qFatal("Cannot open database: %s", qPrintable(db.lastError().text()));
|
||||
|
@ -84,7 +85,7 @@ int main(int argc, char *argv[])
|
|||
#else
|
||||
QIcon::setFallbackThemeName("breeze");
|
||||
QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));
|
||||
QQuickStyle::setFallbackStyle(QStringLiteral("breeze"));
|
||||
QQuickStyle::setFallbackStyle(QStringLiteral("Default"));
|
||||
#endif
|
||||
|
||||
QGuiApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("system-config-display")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue