Skip to content
Permalink
Browse files

launch BookmarkManager.

  • Loading branch information...
haraki committed Jun 14, 2019
1 parent de35062 commit fa7f229aa2ed437d03a7f61229908913847281d9
Showing with 17 additions and 4 deletions.
  1. +12 −0 mainwindow.cpp
  2. +1 −0 mainwindow.h
  3. +4 −4 mainwindow.ui
@@ -10,6 +10,7 @@
#include "doublefolderpanel.h"
#include "settings.h"
#include "preferencesdialog.h"
#include "bookmarkmanagerdialog.h"
#include "viewerdispatcher.h"
#include "imageviewer.h"
#include "file.h"
@@ -562,6 +563,17 @@ void MainWindow::on_actionSelectStorageBookmark_triggered()
}
}

void MainWindow::on_actionBookmarkManager_triggered()
{
qDebug() << "MainWindow::on_actionBookmarkManager_triggered()";

BookmarkManagerDialog dialog(this);
if(dialog.exec() != QDialog::Accepted)
{
return;
}
}

void MainWindow::on_actionPreferences_triggered()
{
qDebug() << "MainWindow::on_actionPreferences_triggered()";
@@ -89,6 +89,7 @@ private Q_SLOTS:
void on_actionAttributes_triggered();
void on_actionBookmark_toggled(bool arg1);
void on_actionSelectStorageBookmark_triggered();
void on_actionBookmarkManager_triggered();
void on_actionPreferences_triggered();
void on_actionConsole_triggered(bool checked);
void on_consoleDockWidget_visibilityChanged(bool visible);
@@ -64,7 +64,7 @@
<x>0</x>
<y>0</y>
<width>567</width>
<height>21</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuView">
@@ -126,7 +126,7 @@
</property>
<addaction name="actionBookmark"/>
<addaction name="actionSelectStorageBookmark"/>
<addaction name="actionEdit_Bookmark"/>
<addaction name="actionBookmarkManager"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuView"/>
@@ -399,9 +399,9 @@
<string>O</string>
</property>
</action>
<action name="actionEdit_Bookmark">
<action name="actionBookmarkManager">
<property name="text">
<string>Edit Bookmark...(&amp;E)</string>
<string>Bookmark Manager...(&amp;E)</string>
</property>
<property name="shortcut">
<string>Ctrl+L</string>

0 comments on commit fa7f229

Please sign in to comment.
You can’t perform that action at this time.