Removed status message which overwrites message from the core on CSV import.
This commit is contained in:
@ -40,7 +40,6 @@ MainWindow::MainWindow(QWidget* parent)
|
|||||||
transform.rotate(180);
|
transform.rotate(180);
|
||||||
QPixmap rotated = pixmap.transformed(transform);
|
QPixmap rotated = pixmap.transformed(transform);
|
||||||
QIcon appIcon = QIcon(rotated);
|
QIcon appIcon = QIcon(rotated);
|
||||||
qWarning() << "appIcon.availableSizes():" << appIcon.availableSizes();
|
|
||||||
setWindowIcon(QIcon(rotated));
|
setWindowIcon(QIcon(rotated));
|
||||||
#else
|
#else
|
||||||
setWindowIcon(QIcon(iconString));
|
setWindowIcon(QIcon(iconString));
|
||||||
@ -252,7 +251,6 @@ void MainWindow::importCSV() {
|
|||||||
tr("CSV Files (*.csv)"));
|
tr("CSV Files (*.csv)"));
|
||||||
if (QFileInfo::exists(csvFilePath)) {
|
if (QFileInfo::exists(csvFilePath)) {
|
||||||
m_core->importCSVFile(csvFilePath);
|
m_core->importCSVFile(csvFilePath);
|
||||||
showStatusMessage(tr("Imported CSV file."));
|
|
||||||
} else {
|
} else {
|
||||||
qWarning() << "Selected CSV file path doesn't exist. Doing nothing...";
|
qWarning() << "Selected CSV file path doesn't exist. Doing nothing...";
|
||||||
showStatusMessage(tr("Could't find CSV file!"));
|
showStatusMessage(tr("Could't find CSV file!"));
|
||||||
|
|||||||
Reference in New Issue
Block a user