m_jobQuery += " LIMIT " + limit;
}
- if (mainWin->m_sqlDebug) {
- Pmsg1(000, "Query cmd : %s\n", m_jobQuery.toUtf8().data());
- }
+ if (mainWin->m_rtPopDirDebug)
+ Pmsg1(000, "m_jobQuery : %s\n", m_jobQuery.toUtf8().data());
prBar1->setValue(ontask++);
prLabel1->setText("Task " + QString("%1").arg(ontask)+ " of " + QString("%1").arg(taskcount));
prBar2->setValue(0);
limit.setNum(limitSpinBox->value());
jobQuery += " LIMIT " + limit;
}
- if (mainWin->m_sqlDebug) {
+ if (mainWin->m_sqlDebug)
Pmsg1(000, "Query cmd : %s\n", jobQuery.toUtf8().data());
- }
QStringList results;
if (m_console->sql_cmd(jobQuery, results)) {
jobOption += "\"";
QString cmd = QString("restore");
cmd += jobOption +
+ " client=\"" + m_prevClientCombo + "\"" +
" file=\"?" + tempTable + "\" done";
if (mainWin->m_commandDebug)
Pmsg1(000, "preRestore command \'%s\'\n", cmd.toUtf8().data());
<rect>
<x>0</x>
<y>0</y>
- <width>817</width>
+ <width>711</width>
<height>524</height>
</rect>
</property>
<property name="geometry" >
<rect>
<x>20</x>
- <y>23</y>
- <width>661</width>
- <height>79</height>
+ <y>59</y>
+ <width>669</width>
+ <height>95</height>
</rect>
</property>
<property name="maximumSize" >
<size>
<width>900</width>
- <height>79</height>
+ <height>95</height>
</size>
</property>
<layout class="QGridLayout" >
<property name="margin" >
- <number>6</number>
+ <number>3</number>
</property>
<property name="spacing" >
- <number>0</number>
+ <number>2</number>
</property>
<item row="1" column="0" >
<layout class="QHBoxLayout" >
<property name="margin" >
- <number>0</number>
+ <number>2</number>
</property>
<property name="spacing" >
- <number>6</number>
+ <number>4</number>
</property>
<item>
<layout class="QGridLayout" >
<property name="margin" >
- <number>0</number>
+ <number>2</number>
</property>
<property name="spacing" >
- <number>6</number>
+ <number>3</number>
</property>
<item row="0" column="0" >
<widget class="QPushButton" name="refreshButton" >
<item>
<layout class="QVBoxLayout" >
<property name="margin" >
- <number>3</number>
+ <number>2</number>
</property>
<property name="spacing" >
- <number>9</number>
+ <number>3</number>
</property>
<item>
<widget class="QLabel" name="jobLabel" >
<item>
<layout class="QVBoxLayout" >
<property name="margin" >
- <number>3</number>
+ <number>2</number>
</property>
<property name="spacing" >
- <number>0</number>
+ <number>3</number>
</property>
<item>
<widget class="QLabel" name="clientLabel" >
<item>
<layout class="QVBoxLayout" >
<property name="margin" >
- <number>3</number>
+ <number>2</number>
</property>
<property name="spacing" >
- <number>0</number>
+ <number>3</number>
</property>
<item>
<widget class="QLabel" name="fileSetLabel" >
<item>
<layout class="QVBoxLayout" >
<property name="margin" >
- <number>3</number>
+ <number>2</number>
</property>
<property name="spacing" >
- <number>0</number>
+ <number>3</number>
</property>
<item>
<widget class="QCheckBox" name="limitCheckBox" >
<item>
<layout class="QVBoxLayout" >
<property name="margin" >
- <number>3</number>
+ <number>2</number>
</property>
<property name="spacing" >
- <number>0</number>
+ <number>3</number>
</property>
<item>
<widget class="QCheckBox" name="daysCheckBox" >