Commit 8bd217a9 authored by Ingemar Ceicer's avatar Ingemar Ceicer

1 to 0

parent 4477b999
......@@ -1631,6 +1631,7 @@ void Hash::checksum()
QString directoryName = dir.path();
k->setConf("open_path", directoryName.toStdString());
fileNames = dialog->selectedFiles();
// ipac
} else {
delete k;
return;
......@@ -1638,7 +1639,8 @@ void Hash::checksum()
delete k;
if(fileNames.size() > 1) {
// ipac Ändrat från 1
if(fileNames.size() > 0) {
lista = new QStringList;
QStringList fillista;
......@@ -1660,7 +1662,8 @@ void Hash::checksum()
recentFileList(fileNames.at(0));
}
if(fileNames.size() > 1) {
// ipac Ändrat från 1
if(fileNames.size() > 0) {
d = new QDialog;
ui2 = new Ui::Lic;
//Font ui2
......
......@@ -95,6 +95,19 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
......
......@@ -15,6 +15,7 @@
#include <QtWidgets/QDialog>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTextBrowser>
#include <QtWidgets/QVBoxLayout>
......@@ -28,6 +29,7 @@ public:
QHBoxLayout *horizontalLayout_6;
QPushButton *pbClose;
QPushButton *pbOpenFile;
QSpacerItem *horizontalSpacer;
void setupUi(QDialog *Lic)
{
......@@ -81,6 +83,10 @@ public:
horizontalLayout_6->addWidget(pbOpenFile);
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_6->addItem(horizontalSpacer);
verticalLayout_4->addLayout(horizontalLayout_6);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment