summaryrefslogtreecommitdiffstats
path: root/src/loginform.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-13 13:41:39 +0100
committerSimon Rettberg2017-11-13 13:41:39 +0100
commitcacd16116201eb578e09d29a889785c19e99caf5 (patch)
treecd2821655699d390451427f648f52c72b37b9477 /src/loginform.cpp
parentIncrease font size in text fields a bit (diff)
downloadslxgreeter-cacd16116201eb578e09d29a889785c19e99caf5.tar.gz
slxgreeter-cacd16116201eb578e09d29a889785c19e99caf5.tar.xz
slxgreeter-cacd16116201eb578e09d29a889785c19e99caf5.zip
Improve style a bit: Pull b-l-logo down, a bit smaller, better dropdown style
Diffstat (limited to 'src/loginform.cpp')
-rw-r--r--src/loginform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loginform.cpp b/src/loginform.cpp
index 0a65bdd..2fb09df 100644
--- a/src/loginform.cpp
+++ b/src/loginform.cpp
@@ -12,6 +12,7 @@
#include <QPixmap>
#include <QMessageBox>
#include <QMenu>
+#include <QListView>
#include <iostream>
@@ -63,6 +64,7 @@ void LoginForm::initialize()
QPixmap icon(":/resources/bwlp.svg"); // This project came from Razor-qt
ui->iconLabel->setPixmap(icon.scaled(ui->iconLabel->size(), Qt::KeepAspectRatio, Qt::SmoothTransformation));
+ ui->leaveComboBox->setView(new QListView());
//addLeaveEntry(power->canHibernate(), "system-suspend-hibernate", tr("Hibernate"), "hibernate");
//addLeaveEntry(power->canSuspend(), "system-suspend", tr("Suspend"), "suspend");