mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Fix formatting
This commit is contained in:
parent
f2e34566cd
commit
336170f91f
3 changed files with 4 additions and 4 deletions
|
|
@ -1655,8 +1655,8 @@ void MainWindow::updateProgressBar(int percentage, QString message)
|
|||
m_progressBarLabel->setText(message);
|
||||
m_progressBarLabel->setVisible(true);
|
||||
|
||||
Clipboard *cb = qobject_cast<Clipboard *>(sender());
|
||||
if(cb) {
|
||||
Clipboard* cb = qobject_cast<Clipboard*>(sender());
|
||||
if (cb) {
|
||||
m_clearClipboardButton->setVisible(true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@
|
|||
#include <QLabel>
|
||||
#include <QMainWindow>
|
||||
#include <QProgressBar>
|
||||
#include <QPushButton>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QTimer>
|
||||
#include <QPushButton>
|
||||
|
||||
#include "core/SignalMultiplexer.h"
|
||||
#include "gui/DatabaseWidget.h"
|
||||
|
|
|
|||
|
|
@ -2508,7 +2508,7 @@ void TestGui::testClearClipboard()
|
|||
QTest::keyClick(entryView, Qt::Key_C, Qt::ControlModifier);
|
||||
QTRY_COMPARE(clipboard->text(), entryView->currentEntry()->password());
|
||||
|
||||
QPushButton *clearClipboardButton = m_mainWindow->findChild<QPushButton *>("clearClipboardButton");
|
||||
QPushButton* clearClipboardButton = m_mainWindow->findChild<QPushButton*>("clearClipboardButton");
|
||||
QTRY_VERIFY(clearClipboardButton->isVisible());
|
||||
clearClipboardButton->click();
|
||||
QCOMPARE(clipboard->text(), QString());
|
||||
|
|
|
|||
Loading…
Reference in a new issue